diff options
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r-- | mdoc_argv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index e5c06db8..dad47cf7 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -45,6 +45,7 @@ static int argv_opt_single(struct mdoc *, int, struct mdoc_argv *, int *, char *); static int argv_multi(struct mdoc *, int, struct mdoc_argv *, int *, char *); +static void argn_free(struct mdoc_arg *, int); enum argvflag { ARGV_NONE, /* no args to flag (e.g., -split) */ @@ -295,14 +296,14 @@ mdoc_argv_free(struct mdoc_arg *p) assert(p->argc); for (i = (int)p->argc - 1; i >= 0; i--) - mdoc_argn_free(p, i); + argn_free(p, i); free(p->argv); free(p); } -void -mdoc_argn_free(struct mdoc_arg *p, int iarg) +static void +argn_free(struct mdoc_arg *p, int iarg) { struct mdoc_argv *arg; int j; |