summary refs log tree commit diff stats
path: root/src/common/cfgfiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r--src/common/cfgfiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h
index d0062304..d32dbb67 100644
--- a/src/common/cfgfiles.h
+++ b/src/common/cfgfiles.h
@@ -8,7 +8,7 @@
 extern char *xdir_fs;
 extern char *xdir_utf;
 
-char *cfg_get_str (char *cfg, char *var, char *dest, int dest_len);
+char *cfg_get_str (char *cfg, const char *var, char *dest, int dest_len);
 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);