summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-15 18:50:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-15 18:50:20 +0000
commit5f847ab22e99d73a0733440c20af6ad390ccd6a4 (patch)
tree46891d37270d0c2b0c846836b466c05a7581bd99
parentb055de7f5dca0b71396d14adec76802e4d947648 (diff)
downloadmandoc-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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.c b/main.c
index b8a773d4..638f7068 100644
--- a/main.c
+++ b/main.c
@@ -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 *);