diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-16 22:59:30 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-16 22:59:30 +0000 |
commit | 97956e0b080f165b8c3f83a8f9c0d921926b0613 (patch) | |
tree | 84c2923fd344e5bf0c06914b1cde63e6eefded0c /config.c | |
parent | d8b31ce4ced6db8c93171133f5d97bc1a39bbed3 (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-x | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |