[asterisk-commits] oej: trunk r63240 - in /trunk: include/asterisk/module.h main/loader.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 7 12:03:53 MST 2007


Author: oej
Date: Mon May  7 14:03:53 2007
New Revision: 63240

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63240
Log:
Constifications

Modified:
    trunk/include/asterisk/module.h
    trunk/main/loader.c

Modified: trunk/include/asterisk/module.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/module.h?view=diff&rev=63240&r1=63239&r2=63240
==============================================================================
--- trunk/include/asterisk/module.h (original)
+++ trunk/include/asterisk/module.h Mon May  7 14:03:53 2007
@@ -118,7 +118,7 @@
  * \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.

Modified: trunk/main/loader.c
URL: http://svn.digium.com/view/asterisk/trunk/main/loader.c?view=diff&rev=63240&r1=63239&r2=63240
==============================================================================
--- trunk/main/loader.c (original)
+++ trunk/main/loader.c Mon May  7 14:03:53 2007
@@ -891,7 +891,7 @@
 }
 
 /*! \brief Check if module exists */
-int ast_module_check(char *name)
+int ast_module_check(const char *name)
 {
 	struct ast_module *cur;
 



More information about the asterisk-commits mailing list