aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit6a81c8460007e1d52bf6aab06460b9ce75c1ae4b (patch)
tree5a3bfa345c1f70d7d3c6ad760fe291cc75bd6730 /term_ascii.c
parent4f632f9feb86ec93aaa9cd7d8ee145bf5788b13c (diff)
downloadmandoc-6a81c8460007e1d52bf6aab06460b9ce75c1ae4b.tar.gz
mandoc-6a81c8460007e1d52bf6aab06460b9ce75c1ae4b.tar.zst
mandoc-6a81c8460007e1d52bf6aab06460b9ce75c1ae4b.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term_ascii.c b/term_ascii.c
index cb7ac294..d6531167 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -1,4 +1,4 @@
-/* $Id: term_ascii.c,v 1.21 2013/06/01 14:27:20 schwarze Exp $ */
+/* $Id: term_ascii.c,v 1.22 2014/03/23 11:25:26 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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"