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. --- mandocdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandocdb.c') diff --git a/mandocdb.c b/mandocdb.c index a2d9e494..629be1d5 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.259 2018/08/17 20:33:37 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.260 2018/12/13 11:55:46 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011-2018 Ingo Schwarze @@ -52,6 +52,7 @@ #include "roff.h" #include "mdoc.h" #include "man.h" +#include "mandoc_parse.h" #include "manconf.h" #include "mansearch.h" #include "dba_array.h" -- cgit v1.2.3-56-ge451