aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-16 22:59:30 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-16 22:59:30 +0000
commit97956e0b080f165b8c3f83a8f9c0d921926b0613 (patch)
tree84c2923fd344e5bf0c06914b1cde63e6eefded0c /config.c
parentd8b31ce4ced6db8c93171133f5d97bc1a39bbed3 (diff)
Optimize module loading (bug #3356)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4814 f38db490-d61c-443f-a65b-d21fe96a405b
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) {