diff options
-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; |