aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rwxr-xr-xconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index d565d32a8..e27eb58b0 100755
--- a/config.c
+++ b/config.c
@@ -119,7 +119,7 @@ int ast_false(const char *s)
return 0;
}
-struct ast_variable *ast_variable_browse(struct ast_config *config, char *category)
+struct ast_variable *ast_variable_browse(const struct ast_config *config, const char *category)
{
struct ast_category *cat;
cat = config->root;
@@ -137,7 +137,7 @@ struct ast_variable *ast_variable_browse(struct ast_config *config, char *catego
return NULL;
}
-char *ast_variable_retrieve(struct ast_config *config, char *category, char *value)
+char *ast_variable_retrieve(const struct ast_config *config, const char *category, const char *value)
{
struct ast_variable *v;
if (category) {