diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-21 09:08:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-21 09:08:26 +0000 |
commit | 30b130d45dce3f49f706cae2cb14f39c3b5246fc (patch) | |
tree | 10487da55a4856e79ea092874ae1a824a3639f55 /mdoc_argv.c | |
parent | 6ff953b9dae270b837ca8b8a0ba146a1c3296243 (diff) | |
download | mandoc-30b130d45dce3f49f706cae2cb14f39c3b5246fc.tar.gz |
Finally make mdoc argv CPP-defines into a proper enum.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r-- | mdoc_argv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 748c7d59..e24ac739 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -45,7 +45,7 @@ #define MULTI_STEP 5 -static int argv_a2arg(enum mdoct, const char *); +static enum mdocargt argv_a2arg(enum mdoct, const char *); static enum margserr args(struct mdoc *, int, int *, char *, int, char **); static int argv(struct mdoc *, int, @@ -313,7 +313,7 @@ mdoc_argv_free(struct mdoc_arg *p) void mdoc_argn_free(struct mdoc_arg *p, int iarg) { - struct mdoc_argv *arg = &p->argv[iarg]; + struct mdoc_argv *arg = &p->argv[iarg]; /* FIXME: decl/assign */ int j; if (arg->sz && arg->value) { @@ -583,7 +583,7 @@ args(struct mdoc *m, int line, int *pos, } -static int +static enum mdocargt argv_a2arg(enum mdoct tok, const char *p) { |