]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
new headers pay off and reveal naughty modules with the wrong function prototype
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Feb 2006 16:59:31 +0000 (16:59 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Feb 2006 16:59:31 +0000 (16:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@611 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_skel/mod_skel.c
src/mod/codecs/mod_speex/mod_speex.c
src/mod/directories/mod_ldap/mod_ldap.c
src/mod/event_handlers/mod_event_test/mod_event_test.c
src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c
src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c
src/mod/formats/mod_sndfile/mod_sndfile.c

index a0694330826d57081f71d447ce7bbb0ac3f59e4f..2867a9135fff8edc6087129e7ef962d14c14ca28 100644 (file)
@@ -42,7 +42,7 @@ static switch_loadable_module_interface skel_module_interface = {
        /*.application_interface */ NULL
 };
 
-switch_status switch_module_load(switch_loadable_module_interface **interface, char *filename)
+switch_status switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {
        /* connect my internal structure to the blank pointer passed to me */
        *interface = &skel_module_interface;
index ff5a6edba8a16058612617b5079b31ee384d6c00..f351807880de1d3994fa9361cc222347431be4a2 100644 (file)
@@ -334,7 +334,7 @@ static switch_loadable_module_interface speex_module_interface = {
        /*.application_interface */ NULL
 };
 
-SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename)
+SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {
        /* connect my internal structure to the blank pointer passed to me */
        *interface = &speex_module_interface;
index 8d27ebd4a2dd6ff5e979e22aa5ea3b43c8f4ba72..301267d7a92519e7d7d46249b0730b3bf3b4cb70 100644 (file)
@@ -220,7 +220,7 @@ static switch_loadable_module_interface skel_module_interface = {
        /*.directory_interface */ &ldap_directory_interface
 };
 
-switch_status switch_module_load(switch_loadable_module_interface **interface, char *filename)
+switch_status switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {
        /* connect my internal structure to the blank pointer passed to me */
        *interface = &skel_module_interface;
index 7ec278257d246efcece33d05a1e0fee3660b6d52..761ca0e6ccac816545e6619adcec36ca1cd1a0a1 100644 (file)
@@ -104,7 +104,7 @@ SWITCH_MOD_DECLARE(switch_status) switch_module_shutdown(void)
 #endif
 
 
-SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename)
+SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {
        /* connect my internal structure to the blank pointer passed to me */
        *interface = &event_test_module_interface;
index 661a11e518178906dc0ed86bd547891c3fcd93d7..e5bbebd9a8ba810ef4fcb0f8718e6f27d28bf29c 100644 (file)
@@ -355,7 +355,7 @@ static switch_loadable_module_interface xmpp_event_module_interface = {
        /*.application_interface */ NULL
 };
 
-SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename)
+SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {
        /* connect my internal structure to the blank pointer passed to me */
        *interface = &xmpp_event_module_interface;
index 1ce39eef95d27c5cdd47e9dbc000c0bffdb2636a..c50682096298f1a102cb345e1a92c698edc6d7da 100644 (file)
@@ -264,8 +264,7 @@ SWITCH_MOD_DECLARE(switch_status) switch_module_shutdown(void)
 }
 
 
-
-SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename)
+SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {
 
        memset(&globals, 0, sizeof(globals));
index 0feb5c2cad38aad061b1a8ea335606aab3f36083..6efb77efd4e2cea0df5bf653e16deab5ad08a8d0 100644 (file)
@@ -303,7 +303,7 @@ static switch_status setup_formats(void)
        return SWITCH_STATUS_SUCCESS;
 }
 
-SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename)
+SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
 {