summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/tbl_layout.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-03-21 22:17:02 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-03-21 22:17:02 +0000
commit8c2e8278819af3eeaaa829b00554902f74fb874c (patch)
tree82205b7994857117842eece204daf0a68a2761ed /usr.bin/mandoc/tbl_layout.c
parentcb68898005a73d46a81daffaa82a6939883a6e32 (diff)
The files mandoc.c and mandoc.h contained both specialised low-level
functions used for multiple languages (mdoc, man, roff), for example mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary functions. Split the auxiliaries out into their own file and header. While here, do some #include cleanup.
Diffstat (limited to 'usr.bin/mandoc/tbl_layout.c')
-rw-r--r--usr.bin/mandoc/tbl_layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/tbl_layout.c b/usr.bin/mandoc/tbl_layout.c
index 456e077b10a..717e7c7dd1a 100644
--- a/usr.bin/mandoc/tbl_layout.c
+++ b/usr.bin/mandoc/tbl_layout.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_layout.c,v 1.11 2012/05/26 20:03:34 schwarze Exp $ */
+/* $Id: tbl_layout.c,v 1.12 2014/03/21 22:17:01 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,13 +15,13 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "mandoc.h"
+#include "mandoc_aux.h"
#include "libmandoc.h"
#include "libroff.h"