From: Michael Adam Date: Thu, 14 Aug 2008 21:44:06 +0000 (+0200) Subject: dynconfig: remove unused prototypes. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f30b70b2c3a49bc962848039953a565a040b563d;p=thirdparty%2Fsamba.git dynconfig: remove unused prototypes. set_dyn_STATEDIR, is_default_dyn_STATEDIR, set_dyn_CACHEDIR, is_default_dyn_CACHEDIR are neither used nor implemented. Michael --- diff --git a/source/include/dynconfig.h b/source/include/dynconfig.h index 57909bc614a..a86cca262e4 100644 --- a/source/include/dynconfig.h +++ b/source/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);