From f30b70b2c3a49bc962848039953a565a040b563d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 14 Aug 2008 23:44:06 +0200 Subject: [PATCH] dynconfig: remove unused prototypes. set_dyn_STATEDIR, is_default_dyn_STATEDIR, set_dyn_CACHEDIR, is_default_dyn_CACHEDIR are neither used nor implemented. Michael --- source/include/dynconfig.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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); -- 2.47.3