diff options
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdocml.c,v 1.18 2008/12/09 00:27:17 kristaps Exp $ */ +/* $Id: mdocml.c,v 1.19 2008/12/09 17:09:12 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -50,6 +50,10 @@ static int begin_bufs(const struct md_args *, static int leave_bufs(const struct md_buf *, const struct md_buf *, int); +#ifdef __linux__ +extern int getsubopt(char **, char *const *, char **); +#endif + int main(int argc, char *argv[]) { @@ -265,7 +269,8 @@ usage(void) { extern char *__progname; - (void)printf("usage: %s [-v] [-Wwarn...] [-f filter] " - "[-o outfile] [infile]\n", __progname); + (void)fprintf(stderr, "usage: %s [-v] [-Wwarn...] " + "[-f filter] [-o outfile] [infile]\n", + __progname); } |