From 87afbc0e736c0c51230aed2a74f1f10684872d7e 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 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mdocterm.c') diff --git a/mdocterm.c b/mdocterm.c index 46451789..8e5f15d6 100644 --- a/mdocterm.c +++ b/mdocterm.c @@ -1,4 +1,4 @@ - /* $Id: mdocterm.c,v 1.4 2009/02/23 09:33:34 kristaps Exp $ */ + /* $Id: mdocterm.c,v 1.5 2009/02/23 12:45:19 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -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 v1.2.3