summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c2
-rw-r--r--src/common/cfgfiles.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index ff4f3756..e5d0eaef 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -197,7 +197,7 @@ cfg_get_str (char *cfg, char *var, char *dest, int dest_len)
 	}
 }
 
-int
+static int
 cfg_put_str (int fh, char *var, char *value)
 {
 	char buf[512];
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h
index 59fc34b0..984b9472 100644
--- a/src/common/cfgfiles.h
+++ b/src/common/cfgfiles.h
@@ -9,7 +9,6 @@ extern char *xdir_fs;
 extern char *xdir_utf;
 
 char *cfg_get_str (char *cfg, char *var, char *dest, int dest_len);
-int cfg_put_str (int fh, char *var, char *value);
 int cfg_get_bool (char *var);
 int cfg_get_int_with_result (char *cfg, char *var, int *result);
 int cfg_get_int (char *cfg, char *var);