]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Constifications
authorOlle Johansson <oej@edvina.net>
Mon, 7 May 2007 19:03:53 +0000 (19:03 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 7 May 2007 19:03:53 +0000 (19:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/module.h
main/loader.c

index 0fe4ccf57c6162d40f687206b0d667a648bfda97..075d6a376b50b6ab8eb8d781aa5a7c2ec8db929c 100644 (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.
index d9530f4d2e18ac09481e90ea903223133c4cf08b..53b557f11179d3068fb405e1542754b9934aadc3 100644 (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;