diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-23 12:45:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-23 12:45:19 +0000 |
commit | 87afbc0e736c0c51230aed2a74f1f10684872d7e (patch) | |
tree | 6a17424d1de64387a59166cd7ba593b96bb279b0 /mdocterm.c | |
parent | 7f0efa8fae853b8421869bf16da3d57b9b4d0da0 (diff) | |
download | mandoc-87afbc0e736c0c51230aed2a74f1f10684872d7e.tar.gz mandoc-87afbc0e736c0c51230aed2a74f1f10684872d7e.tar.zst mandoc-87afbc0e736c0c51230aed2a74f1f10684872d7e.zip |
More in-file documentation and Linux-isation.
Moved mdoc_macros table definition into macro.c, where it belongs.
Diffstat (limited to 'mdocterm.c')
-rw-r--r-- | mdocterm.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 <kristaps@kth.se> * @@ -24,6 +24,10 @@ #include <stdlib.h> #include <string.h> +#ifdef __linux__ +#include <time.h> +#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)) |