aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-27 18:29:24 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-27 18:29:24 +0000
commit600a6bbd4bc23e295e602f05d400663a3241be41 (patch)
treee4a3b782a51b61ec0ccf6bb532e8e45fc17ce873 /indep.c
parent[w3m-dev 02578] (diff)
downloadw3m-600a6bbd4bc23e295e602f05d400663a3241be41.tar.gz
w3m-600a6bbd4bc23e295e602f05d400663a3241be41.zip
[w3m-dev 02574] sysconfdir
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'indep.c')
-rw-r--r--indep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/indep.c b/indep.c
index 9284a39..5f5a2f5 100644
--- a/indep.c
+++ b/indep.c
@@ -1,4 +1,4 @@
-/* $Id: indep.c,v 1.12 2001/11/27 16:55:46 ukai Exp $ */
+/* $Id: indep.c,v 1.13 2001/11/27 18:29:24 ukai Exp $ */
#include "fm.h"
#include <stdio.h>
#include <pwd.h>
@@ -696,6 +696,12 @@ w3m_lib_dir()
}
char *
+w3m_etc_dir()
+{
+ return w3m_dir("W3M_ETC_DIR", ETC_DIR);
+}
+
+char *
w3m_help_dir()
{
return w3m_dir("W3M_HELP_DIR", HELP_DIR);