=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- mandoc/main.c 2009/03/19 16:17:27 1.1 +++ mandoc/main.c 2009/03/19 16:40:49 1.3 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.1 2009/03/19 16:17:27 kristaps Exp $ */ +/* $Id: main.c,v 1.3 2009/03/19 16:40:49 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -28,6 +28,13 @@ #include "mdoc.h" +#ifdef __linux__ +extern int getsubopt(char **, char * const *, char **); +# ifndef __dead +# define __dead __attribute__((__noreturn__)) +# endif +#endif + #define WARN_WALL 0x03 /* All-warnings mask. */ #define WARN_WCOMPAT (1 << 0) /* Compatibility warnings. */ #define WARN_WSYNTAX (1 << 1) /* Syntax warnings. */ @@ -405,6 +412,7 @@ woptions(int *wflags, char *arg) } +/* ARGSUSED */ static int merr(void *arg, int line, int col, const char *msg) {