diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-03-21 22:17:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-03-21 22:17:02 +0000 |
commit | 8c2e8278819af3eeaaa829b00554902f74fb874c (patch) | |
tree | 82205b7994857117842eece204daf0a68a2761ed /usr.bin/mandoc/mansearch.c | |
parent | cb68898005a73d46a81daffaa82a6939883a6e32 (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/mansearch.c')
-rw-r--r-- | usr.bin/mandoc/mansearch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mansearch.c b/usr.bin/mandoc/mansearch.c index 214b5cefe63..c7ac15b85b8 100644 --- a/usr.bin/mandoc/mansearch.c +++ b/usr.bin/mandoc/mansearch.c @@ -1,4 +1,4 @@ -/* $Id: mansearch.c,v 1.13 2014/03/17 16:29:22 schwarze Exp $ */ +/* $Id: mansearch.c,v 1.14 2014/03/21 22:17:01 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -31,6 +31,7 @@ #include <sqlite3.h> #include "mandoc.h" +#include "mandoc_aux.h" #include "manpath.h" #include "mansearch.h" |