dynconfig: remove unused prototypes.
authorMichael Adam <obnox@samba.org>
Thu, 14 Aug 2008 21:44:06 +0000 (23:44 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 15 Aug 2008 21:19:56 +0000 (23:19 +0200)
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)

source3/include/dynconfig.h

index 57909bc614a351d3ac4951648f8bce0b064df669..a86cca262e4400cc8aa4cb3d33f7e8aca5310676 100644 (file)
@@ -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);