=================================================================== RCS file: /cvs/mandoc/manpath.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -p -r1.25 -r1.26 --- mandoc/manpath.c 2015/05/07 12:08:13 1.25 +++ mandoc/manpath.c 2015/06/10 19:26:13 1.26 @@ -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 * Copyright (c) 2011 Kristaps Dzonsons @@ -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)