Constifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2007-05-07 19:03:53 +00:00
parent a39f95b94f
commit 0cc7c0640b
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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;