summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/manpath.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-12-19 02:26:33 +0000
committerschwarze <schwarze@openbsd.org>2011-12-19 02:26:33 +0000
commit18eee2d9c65b7a339eca76bab2f6c525890a56fe (patch)
tree257d386cd037c5dd4381aac331d2f011cbc53ff0 /usr.bin/mandoc/manpath.h
parentSync comments with latest cleanup changes (diff)
downloadwireguard-openbsd-18eee2d9c65b7a339eca76bab2f6c525890a56fe.tar.xz
wireguard-openbsd-18eee2d9c65b7a339eca76bab2f6c525890a56fe.zip
Improvements from kristaps@:
(1) Make the database format simpler and smaller by - storing the file type as a single character and - storing paths relative to the dir containing the database. The latter allows to move trees around. Both together typically save 15-25% of the index size. (2) Make sure apropos(1) "any" really covers all search keys. (3) Make manpath_parseline() static, drop manpath_parseconf() completely.
Diffstat (limited to 'usr.bin/mandoc/manpath.h')
-rw-r--r--usr.bin/mandoc/manpath.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/mandoc/manpath.h b/usr.bin/mandoc/manpath.h
index 632834d6fc4..4b2233d17a2 100644
--- a/usr.bin/mandoc/manpath.h
+++ b/usr.bin/mandoc/manpath.h
@@ -1,4 +1,4 @@
-/* $Id: manpath.h,v 1.2 2011/12/12 01:59:13 schwarze Exp $ */
+/* $Id: manpath.h,v 1.3 2011/12/19 02:26:33 schwarze Exp $ */
/*
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -31,8 +31,6 @@ __BEGIN_DECLS
void manpath_manconf(struct manpaths *, const char *);
void manpath_parse(struct manpaths *, const char *, char *, char *);
-void manpath_parseconf(struct manpaths *, const char *);
-void manpath_parseline(struct manpaths *, char *);
void manpath_free(struct manpaths *);
__END_DECLS