mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Constifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user