diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-07 19:03:53 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-07 19:03:53 +0000 |
commit | acabbccc5fd2aeec77ef934ba02b84fd09c82511 (patch) | |
tree | 97aa88292ba28764d67089e97f7fd6b2a7dd036b | |
parent | 3a428866ebf37aef0b334d2f732beb1fa32a795c (diff) |
Constifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63240 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/module.h | 2 | ||||
-rw-r--r-- | main/loader.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h index 0fe4ccf57..075d6a376 100644 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -118,7 +118,7 @@ int ast_update_module_list(int (*modentry)(const char *module, const char *descr * \param name Module name, like "chan_sip.so" * \return 0 if false, 1 if true */ -int ast_module_check(char *name); +int ast_module_check(const char *name); /*! * \brief Add a procedure to be run when modules have been updated. diff --git a/main/loader.c b/main/loader.c index d9530f4d2..53b557f11 100644 --- a/main/loader.c +++ b/main/loader.c @@ -891,7 +891,7 @@ int ast_update_module_list(int (*modentry)(const char *module, const char *descr } /*! \brief Check if module exists */ -int ast_module_check(char *name) +int ast_module_check(const char *name) { struct ast_module *cur; |