[asterisk-addons-commits] anthonyl: trunk r286 - in /trunk: ./ asterisk-ooh323c/src/ format_mp3/

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Thu Aug 31 13:22:07 MST 2006


Author: anthonyl
Date: Thu Aug 31 15:22:06 2006
New Revision: 286

URL: http://svn.digium.com/view/asterisk-addons?rev=286&view=rev
Log:
some load_module changes re:0007809

Modified:
    trunk/app_addon_sql_mysql.c
    trunk/app_saycountpl.c
    trunk/asterisk-ooh323c/src/chan_h323.c
    trunk/format_mp3/format_mp3.c
    trunk/res_config_mysql.c

Modified: trunk/app_addon_sql_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/app_addon_sql_mysql.c?rev=286&r1=285&r2=286&view=diff
==============================================================================
--- trunk/app_addon_sql_mysql.c (original)
+++ trunk/app_addon_sql_mysql.c Thu Aug 31 15:22:06 2006
@@ -415,12 +415,12 @@
 	return 0;
 }
 
-static int unload_module(void *mod)
+static int unload_module(void)
 {
 	return ast_unregister_application(app);
 }
 
-static int load_module(void *mod)
+static int load_module(void)
 {
 	struct MYSQLidshead *headp = &_mysql_ids_head;
 	AST_LIST_HEAD_INIT(headp);

Modified: trunk/app_saycountpl.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/app_saycountpl.c?rev=286&r1=285&r2=286&view=diff
==============================================================================
--- trunk/app_saycountpl.c (original)
+++ trunk/app_saycountpl.c Thu Aug 31 15:22:06 2006
@@ -113,13 +113,13 @@
 	return res;
 }
 
-static int unload_module(void *mod)
+static int unload_module(void)
 {
 	ast_module_user_hangup_all(); 
 	return ast_unregister_application(app);
 }
 
-static int load_module(void *mod)
+static int load_module(void)
 {
 	return ast_register_application(app, sayword_exec, synopsis, descrip);
 }

Modified: trunk/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/asterisk-ooh323c/src/chan_h323.c?rev=286&r1=285&r2=286&view=diff
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Thu Aug 31 15:22:06 2006
@@ -2345,7 +2345,7 @@
 
 
 
-static int load_module(void *mod)
+static int load_module(void)
 {
    int res;
    struct ooAliases * pNewAlias=NULL;
@@ -2716,7 +2716,7 @@
    return 0;
 }
   
-static int unload_module(void *mod)
+static int unload_module(void)
 {
    struct ooh323_pvt *p;
    struct ooAliases *cur=NULL, *prev=NULL;

Modified: trunk/format_mp3/format_mp3.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/format_mp3/format_mp3.c?rev=286&r1=285&r2=286&view=diff
==============================================================================
--- trunk/format_mp3/format_mp3.c (original)
+++ trunk/format_mp3/format_mp3.c Thu Aug 31 15:22:06 2006
@@ -322,13 +322,13 @@
 };
 
 
-static int load_module(void *mod)
+static int load_module(void)
 {
 	InitMP3Constants();
 	return ast_format_register(&mp3_f);
 }
 
-static int unload_module(void *mod)
+static int unload_module(void)
 {
 	return ast_format_unregister(name);
 }	

Modified: trunk/res_config_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/res_config_mysql.c?rev=286&r1=285&r2=286&view=diff
==============================================================================
--- trunk/res_config_mysql.c (original)
+++ trunk/res_config_mysql.c Thu Aug 31 15:22:06 2006
@@ -467,7 +467,7 @@
 	.update_func = update_mysql
 };
 
-static int load_module(void *mod)
+static int load_module(void)
 {
 	parse_config();
 
@@ -489,7 +489,7 @@
 	return 0;
 }
 
-static int unload_module(void *mod)
+static int unload_module(void)
 {
 	/* Aquire control before doing anything to the module itself. */
 	ast_mutex_lock(&mysql_lock);



More information about the asterisk-addons-commits mailing list