summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-09 17:09:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-09 17:09:12 +0000
commite7ff9604055db4b313427625036e15953beaaebc (patch)
tree09f5427972b1b8933cc9cb76e2da40aedcd5dd5d /mdocml.c
parentd11be70aced0438a57958154b9abf75c30743b39 (diff)
downloadmandoc-e7ff9604055db4b313427625036e15953beaaebc.tar.gz
Considerable clean-ups.
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c9
1 files changed, 7 insertions, 2 deletions
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);
}