From 92f8786f6ad5b622da1afc6b267a40001731571b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 13 Dec 2018 11:55:46 +0000 Subject: 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. --- preconv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'preconv.c') diff --git a/preconv.c b/preconv.c index 08f8df86..9ed627d4 100644 --- a/preconv.c +++ b/preconv.c @@ -1,4 +1,4 @@ -/* $Id: preconv.c,v 1.16 2017/02/18 13:43:52 schwarze Exp $ */ +/* $Id: preconv.c,v 1.17 2018/12/13 11:55:47 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -22,7 +22,10 @@ #include #include #include + #include "mandoc.h" +#include "roff.h" +#include "mandoc_parse.h" #include "libmandoc.h" int -- cgit v1.2.3-56-ge451