aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index 9446ea69..532bdb30 100644
--- a/manpath.c
+++ b/manpath.c
@@ -1,4 +1,4 @@
-/* $Id: manpath.c,v 1.25 2015/05/07 12:08:13 schwarze Exp $ */
+/* $Id: manpath.c,v 1.26 2015/06/10 19:26:13 schwarze Exp $ */
/*
* Copyright (c) 2011, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -29,7 +29,9 @@
#include "mandoc_aux.h"
#include "manconf.h"
+#if !HAVE_MANPATH
static void manconf_file(struct manconf *, const char *);
+#endif
static void manpath_add(struct manpaths *, const char *, int);
static void manpath_parseline(struct manpaths *, char *, int);
@@ -203,6 +205,7 @@ manconf_free(struct manconf *conf)
free(conf->output.style);
}
+#if !HAVE_MANPATH
static void
manconf_file(struct manconf *conf, const char *file)
{
@@ -263,6 +266,7 @@ out:
if (*manpath_default != '\0')
manpath_parseline(&conf->manpath, manpath_default, 0);
}
+#endif
void
manconf_output(struct manoutput *conf, const char *cp)