summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mansearch.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/mansearch.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/mansearch.c')
-rw-r--r--usr.bin/mandoc/mansearch.c3
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"