aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitd3d6f7026424951a4de6ff2d186755d537a6f030 (patch)
tree33b4e35bda718254ae776f233dc5fee15b50a88f
parent0eef50ec6a1184b0c3634caac272f969a3f36c88 (diff)
downloadmandoc-d3d6f7026424951a4de6ff2d186755d537a6f030.tar.gz
mandoc-d3d6f7026424951a4de6ff2d186755d537a6f030.tar.zst
mandoc-d3d6f7026424951a4de6ff2d186755d537a6f030.zip
Fix previous: the mandocdb() prototype was already there, it just
hid among static functions, as noticed by tedu@ (my bad).
-rw-r--r--main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/main.c b/main.c
index 62e76c29..49b97c2b 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.270 2016/07/15 18:03:45 schwarze Exp $ */
+/* $Id: main.c,v 1.271 2016/07/15 18:50:20 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014-2016 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 *);