aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.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
commit92f8786f6ad5b622da1afc6b267a40001731571b (patch)
tree14fe0b38d0e173279a5834b1f18bcfd3efc3209e /roff.c
parentef2d1ed7915b0e62315dcecce1bc447b55254b7c (diff)
downloadmandoc-92f8786f6ad5b622da1afc6b267a40001731571b.tar.gz
mandoc-92f8786f6ad5b622da1afc6b267a40001731571b.tar.zst
mandoc-92f8786f6ad5b622da1afc6b267a40001731571b.zip
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 'roff.c')
-rw-r--r--roff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index 667f5615..db997532 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.348 2018/12/13 05:23:38 schwarze Exp $ */
+/* $Id: roff.c,v 1.349 2018/12/13 11:55:47 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -32,6 +32,7 @@
#include "mandoc_ohash.h"
#include "mandoc.h"
#include "roff.h"
+#include "mandoc_parse.h"
#include "libmandoc.h"
#include "roff_int.h"
#include "tbl_parse.h"