summaryrefslogtreecommitdiffstats
path: root/term_ascii.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-23 11:25:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-23 11:25:25 +0000
commitf40dcc7e2054a99977d444c5fa36868fba2c3f36 (patch)
treec8afef4d61b8627cc3dd4afa60978cec91753911 /term_ascii.c
parent119d1dcb94c6593777a29408f57b0568ec13482b (diff)
downloadmandoc-f40dcc7e2054a99977d444c5fa36868fba2c3f36.tar.gz
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 'term_ascii.c')
-rw-r--r--term_ascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term_ascii.c b/term_ascii.c
index b2e88b9c..3fccc675 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -20,7 +20,6 @@
#include <sys/types.h>
-#include <assert.h>
#ifdef USE_WCHAR
# include <locale.h>
#endif
@@ -33,6 +32,7 @@
#endif
#include "mandoc.h"
+#include "mandoc_aux.h"
#include "out.h"
#include "term.h"
#include "main.h"