diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-13 11:55:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-13 11:55:46 +0000 |
commit | 89b87d6d86473296fb35daf3da277607a4811967 (patch) | |
tree | 530acccec1a624857261d0687c6d5a138e0c19eb /preconv.c | |
parent | e1f21abe4d37332cfcafbde14da0fd93ee6cc0a0 (diff) | |
download | mandoc-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |