From d3d6f7026424951a4de6ff2d186755d537a6f030 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 15 Jul 2016 18:50:20 +0000 Subject: Fix previous: the mandocdb() prototype was already there, it just hid among static functions, as noticed by tedu@ (my bad). --- main.c | 7 +++---- 1 file 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 * Copyright (c) 2010-2012, 2014-2016 Ingo Schwarze @@ -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 *); -- cgit v1.2.3-56-ge451