summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/term_ascii.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/term_ascii.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/term_ascii.c')
-rw-r--r--usr.bin/mandoc/term_ascii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/term_ascii.c b/usr.bin/mandoc/term_ascii.c
index 88c7d621fb9..bebec35bfbc 100644
--- a/usr.bin/mandoc/term_ascii.c
+++ b/usr.bin/mandoc/term_ascii.c
@@ -1,4 +1,4 @@
-/* $Id: term_ascii.c,v 1.10 2013/06/01 14:27:13 schwarze Exp $ */
+/* $Id: term_ascii.c,v 1.11 2014/03/21 22:17:01 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -16,7 +16,6 @@
*/
#include <sys/types.h>
-#include <assert.h>
#include <locale.h>
#include <stdint.h>
#include <stdio.h>
@@ -25,6 +24,7 @@
#include <wchar.h>
#include "mandoc.h"
+#include "mandoc_aux.h"
#include "out.h"
#include "term.h"
#include "main.h"