summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-13 11:55:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-13 11:55:46 +0000
commit89b87d6d86473296fb35daf3da277607a4811967 (patch)
tree530acccec1a624857261d0687c6d5a138e0c19eb /lib.c
parente1f21abe4d37332cfcafbde14da0fd93ee6cc0a0 (diff)
downloadmandoc-89b87d6d86473296fb35daf3da277607a4811967.tar.gz
Cleanup, no functional change:
Split the top level parser interface out of the utility header mandoc.h, into a new header mandoc_parse.h, for use in the main program and in the main parser only. Move enum mandoc_os into roff.h because struct roff_man is the place where it is stored. This allows removal of mandoc.h from seven files in low-level parsers and in formatters.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib.c b/lib.c
index e3258eb8..de33d529 100644
--- a/lib.c
+++ b/lib.c
@@ -17,12 +17,9 @@
#include "config.h"
#include <sys/types.h>
-
#include <string.h>
-#include "mandoc.h"
#include "roff.h"
-#include "mdoc.h"
#include "libmdoc.h"
#define LINE(x, y) \