summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
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);
}