summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-30 01:43:45 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-30 01:43:45 +0100
commit14c7027d5296585af5cbd16c8fb5ab9f6fe44c30 (patch)
treebf821792b38631dd016e3dd025899e2d3df53c6b /src/common
parentf9fa102690cef217b1565af35b34a727a9b58b33 (diff)
cfg_put_str is not required anymore
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);