summaryrefslogtreecommitdiffstats
path: root/cgi.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 /cgi.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 'cgi.c')
-rw-r--r--cgi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgi.c b/cgi.c
index 3e9a36ec..47ebe454 100644
--- a/cgi.c
+++ b/cgi.c
@@ -38,6 +38,7 @@
#include "roff.h"
#include "mdoc.h"
#include "man.h"
+#include "mandoc_parse.h"
#include "main.h"
#include "manconf.h"
#include "mansearch.h"