diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-15 18:50:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-15 18:50:20 +0000 |
commit | 5f847ab22e99d73a0733440c20af6ad390ccd6a4 (patch) | |
tree | 46891d37270d0c2b0c846836b466c05a7581bd99 | |
parent | b055de7f5dca0b71396d14adec76802e4d947648 (diff) | |
download | mandoc-5f847ab22e99d73a0733440c20af6ad390ccd6a4.tar.gz |
Fix previous: the mandocdb() prototype was already there, it just
hid among static functions, as noticed by tedu@ (my bad).
-rw-r--r-- | main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -88,7 +88,9 @@ struct curparse { }; +#if HAVE_SQLITE3 int mandocdb(int, char *[]); +#endif static int fs_lookup(const struct manpaths *, size_t ipath, const char *, @@ -98,9 +100,6 @@ static void fs_search(const struct mansearch *, const struct manpaths *, int, char**, struct manpage **, size_t *); static int koptions(int *, char *); -#if HAVE_SQLITE3 -int mandocdb(int, char**); -#endif static int moptions(int *, char *); static void mmsg(enum mandocerr, enum mandoclevel, const char *, int, int, const char *); |