diff options
author | 2011-12-19 02:26:33 +0000 | |
---|---|---|
committer | 2011-12-19 02:26:33 +0000 | |
commit | 18eee2d9c65b7a339eca76bab2f6c525890a56fe (patch) | |
tree | 257d386cd037c5dd4381aac331d2f011cbc53ff0 /usr.bin/mandoc/manpath.h | |
parent | Sync comments with latest cleanup changes (diff) | |
download | wireguard-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.h | 4 |
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 |