diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-09 17:09:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-09 17:09:12 +0000 |
commit | e7ff9604055db4b313427625036e15953beaaebc (patch) | |
tree | 09f5427972b1b8933cc9cb76e2da40aedcd5dd5d /mdocml.c | |
parent | d11be70aced0438a57958154b9abf75c30743b39 (diff) | |
download | mandoc-e7ff9604055db4b313427625036e15953beaaebc.tar.gz |
Considerable clean-ups.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); } |