mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
loader.c
2
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;
|
||||
|
||||
Reference in New Issue
Block a user