aboutsummaryrefslogtreecommitdiffstats
path: root/loader.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-18 22:17:31 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-18 22:17:31 +0000
commitc6643537f1a978097034de7ce33dcd40530da1c8 (patch)
tree84b53711ba03f3f8d0b61dcace4eca78f6ef8127 /loader.c
parent20dede9dcf4608236c70acd8d3ce544123d3ce9a (diff)
constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'loader.c')
-rw-r--r--loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader.c b/loader.c
index bbcdb245d..6027425ab 100644
--- a/loader.c
+++ b/loader.c
@@ -164,7 +164,7 @@ int ast_unload_resource(const char *resource_name, int force)
return res;
}
-char *ast_module_helper(char *line, char *word, int pos, int state, int rpos, int needsreload)
+char *ast_module_helper(const char *line, const char *word, int pos, int state, int rpos, int needsreload)
{
struct module *m;
int which=0;