From 04e65faa724cfa1cdd43042086fef4fc4631fa61 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 23 Feb 2009 12:45:19 +0000 Subject: More in-file documentation and Linux-isation. Moved mdoc_macros table definition into macro.c, where it belongs. --- mdocterm.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mdocterm.c') diff --git a/mdocterm.c b/mdocterm.c index bffdd1f8..24b4132e 100644 --- a/mdocterm.c +++ b/mdocterm.c @@ -24,6 +24,10 @@ #include #include +#ifdef __linux__ +#include +#endif + #include "mmain.h" #include "term.h" @@ -61,9 +65,6 @@ main(int argc, char *argv[]) const struct mdoc *mdoc; struct termp termp; - extern int optreset; - extern int optind; - p = mmain_alloc(); if ( ! mmain_getopt(p, argc, argv, NULL, NULL, NULL, NULL)) -- cgit