aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-22 18:14:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-22 18:14:30 +0000
commit916afae122e94e9627eab3ab62e1d5391e0e1fec (patch)
tree9fe1eb80edf8e1516007756fc8e0029f38e33ddc /manpath.c
parent2dd6335f7e38c6febe4d28c1b9d484009f454ef7 (diff)
downloadmandoc-916afae122e94e9627eab3ab62e1d5391e0e1fec.tar.gz
mandoc-916afae122e94e9627eab3ab62e1d5391e0e1fec.tar.zst
mandoc-916afae122e94e9627eab3ab62e1d5391e0e1fec.zip
make MANPATH_DEFAULT compile-time configurable
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/manpath.c b/manpath.c
index 57572e55..f5ef2cc4 100644
--- a/manpath.c
+++ b/manpath.c
@@ -1,4 +1,4 @@
-/* $Id: manpath.c,v 1.20 2015/03/21 17:19:36 schwarze Exp $ */
+/* $Id: manpath.c,v 1.21 2015/03/22 18:14:30 schwarze Exp $ */
/*
* Copyright (c) 2011, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -32,7 +32,6 @@
#define MAN_CONF_FILE "/etc/man.conf"
#define MAN_CONF_KEY "_whatdb"
-#define MANPATH_DEFAULT "/usr/share/man:/usr/X11R6/man:/usr/local/man"
static void manpath_add(struct manpaths *, const char *, int);
static void manpath_parseline(struct manpaths *, char *, int);