From e7ff9604055db4b313427625036e15953beaaebc Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 9 Dec 2008 17:09:12 +0000 Subject: Considerable clean-ups. --- mdocml.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'mdocml.c') diff --git a/mdocml.c b/mdocml.c index a9a7a047..936665f9 100644 --- a/mdocml.c +++ b/mdocml.c @@ -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); } -- cgit