aboutsummaryrefslogtreecommitdiff
path: root/src/librc/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-18 14:01:48 +0000
committerRoy Marples <roy@marples.name>2008-01-18 14:01:48 +0000
commit773c2b9ca6c41626bf39ba1af914b5622d520fb8 (patch)
tree4a9f35fa42b4901cca915ad7cf62370018972863 /src/librc/rc.h
parent87f785cc31da9e30cc0fb631b035e3fd25161e89 (diff)
We should never change the list passed to rc_config_value.
Diffstat (limited to 'src/librc/rc.h')
-rw-r--r--src/librc/rc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/rc.h b/src/librc/rc.h
index 516d39f0..726d7f98 100644
--- a/src/librc/rc.h
+++ b/src/librc/rc.h
@@ -359,7 +359,7 @@ char **rc_config_list (const char *file);
char **rc_config_load (const char *file);
/*! Return the value of the entry from a key=value list. */
-char *rc_config_value (char **list, const char *entry);
+char *rc_config_value (const char *const *list, const char *entry);
/*! Check if a variable is a boolean and return it's value.
* If variable is not a boolean then we set errno to be ENOENT when it does