summaryrefslogtreecommitdiffstats
path: root/preconv.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 /preconv.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 'preconv.c')
-rw-r--r--preconv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/preconv.c b/preconv.c
index 9a310198..8fb63c32 100644
--- a/preconv.c
+++ b/preconv.c
@@ -22,7 +22,10 @@
#include <assert.h>
#include <stdio.h>
#include <string.h>
+
#include "mandoc.h"
+#include "roff.h"
+#include "mandoc_parse.h"
#include "libmandoc.h"
int