version 1.25, 2015/05/07 12:08:13 |
version 1.26, 2015/06/10 19:26:13 |
|
|
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
#include "manconf.h" |
#include "manconf.h" |
|
|
|
#if !HAVE_MANPATH |
static void manconf_file(struct manconf *, const char *); |
static void manconf_file(struct manconf *, const char *); |
|
#endif |
static void manpath_add(struct manpaths *, const char *, int); |
static void manpath_add(struct manpaths *, const char *, int); |
static void manpath_parseline(struct manpaths *, char *, int); |
static void manpath_parseline(struct manpaths *, char *, int); |
|
|
Line 203 manconf_free(struct manconf *conf) |
|
Line 205 manconf_free(struct manconf *conf) |
|
free(conf->output.style); |
free(conf->output.style); |
} |
} |
|
|
|
#if !HAVE_MANPATH |
static void |
static void |
manconf_file(struct manconf *conf, const char *file) |
manconf_file(struct manconf *conf, const char *file) |
{ |
{ |
|
|
if (*manpath_default != '\0') |
if (*manpath_default != '\0') |
manpath_parseline(&conf->manpath, manpath_default, 0); |
manpath_parseline(&conf->manpath, manpath_default, 0); |
} |
} |
|
#endif |
|
|
void |
void |
manconf_output(struct manoutput *conf, const char *cp) |
manconf_output(struct manoutput *conf, const char *cp) |