summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-14 23:44:06 +0200
committerMichael Adam <obnox@samba.org>2008-08-15 23:19:56 +0200
commit1d60a7d662b943902cb3951a6b23c044bac5e2d8 (patch)
tree45ef85877aa5bfdc4a03f3bf77468229ebcb1787
parentf2d7c593b5b7c8599a4fa8962c1b36354cdca76d (diff)
downloadsamba-1d60a7d662b943902cb3951a6b23c044bac5e2d8.tar.gz
samba-1d60a7d662b943902cb3951a6b23c044bac5e2d8.tar.bz2
samba-1d60a7d662b943902cb3951a6b23c044bac5e2d8.zip
dynconfig: remove unused prototypes.
set_dyn_STATEDIR, is_default_dyn_STATEDIR, set_dyn_CACHEDIR, is_default_dyn_CACHEDIR are neither used nor implemented. Michael (This used to be commit f30b70b2c3a49bc962848039953a565a040b563d)
-rw-r--r--source3/include/dynconfig.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/dynconfig.h b/source3/include/dynconfig.h
index 57909bc614..a86cca262e 100644
--- a/source3/include/dynconfig.h
+++ b/source3/include/dynconfig.h
@@ -91,10 +91,11 @@ const char *get_dyn_PRIVATE_DIR(void);
const char *set_dyn_PRIVATE_DIR(const char *newpath);
bool is_default_dyn_PRIVATE_DIR(void);
+/*
+ * For STATEDIR and CACHEDIR, there are only getter functions.
+ * In non-FHS-mode, these are configurable via LOCKDIR.
+ * In FHS-mode, these are their own fixed directories.
+ */
const char *get_dyn_STATEDIR(void);
-const char *set_dyn_STATEDIR(const char *newpath);
-bool is_default_dyn_STATEDIR(void);
const char *get_dyn_CACHEDIR(void);
-const char *set_dyn_CACHEDIR(const char *newpath);
-bool is_default_dyn_CACHEDIR(bool);