summaryrefslogtreecommitdiffstats
path: root/contrib/mdocml/mansearch.h
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-25 21:56:56 +0000
committerbapt <bapt@FreeBSD.org>2014-12-25 21:56:56 +0000
commitcf139e2b7a580f046b31e73a760aa48ddc691325 (patch)
tree54535e50b687bec626afd3db459faf4fd9079b7e /contrib/mdocml/mansearch.h
parentf9a4136de0ddd1d48a33e089a7ee67f09fedebb4 (diff)
parente28888b1f603ef47b9f08e9edb514e312d770d3b (diff)
downloadFreeBSD-src-cf139e2b7a580f046b31e73a760aa48ddc691325.zip
FreeBSD-src-cf139e2b7a580f046b31e73a760aa48ddc691325.tar.gz
Update mandoc to 1.13.2
Diffstat (limited to 'contrib/mdocml/mansearch.h')
-rw-r--r--contrib/mdocml/mansearch.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/mdocml/mansearch.h b/contrib/mdocml/mansearch.h
index 4f92ef2..14ec8ce 100644
--- a/contrib/mdocml/mansearch.h
+++ b/contrib/mdocml/mansearch.h
@@ -1,4 +1,4 @@
-/* $Id: mansearch.h,v 1.21 2014/11/27 01:58:21 schwarze Exp $ */
+/* $Id: mansearch.h,v 1.23 2014/12/01 08:05:52 schwarze Exp $ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,8 +15,6 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef MANSEARCH_H
-#define MANSEARCH_H
#define MANDOC_DB "mandoc.db"
@@ -99,6 +97,8 @@ struct mansearch {
__BEGIN_DECLS
+struct manpaths;
+
int mansearch_setup(int);
int mansearch(const struct mansearch *cfg, /* options */
const struct manpaths *paths, /* manpaths */
@@ -109,5 +109,3 @@ int mansearch(const struct mansearch *cfg, /* options */
void mansearch_free(struct manpage *, size_t);
__END_DECLS
-
-#endif /* MANSEARCH_H */
OpenPOWER on IntegriCloud