]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] Fix switch_core_sqldb_destroy() function declaration. 2014/head
authorAndrey Volk <andywolk@gmail.com>
Fri, 31 Mar 2023 17:47:56 +0000 (20:47 +0300)
committerAndrey Volk <andywolk@gmail.com>
Fri, 31 Mar 2023 17:47:56 +0000 (20:47 +0300)
src/include/private/switch_core_pvt.h
src/switch_core.c

index af6a4f53bdefdb64b69e55cfe131c88552947cea..fafaae3cba9b7b359badc17a1bed5c9a0682995c 100644 (file)
@@ -310,7 +310,7 @@ extern struct switch_session_manager session_manager;
 
 
 switch_status_t switch_core_sqldb_init(const char **err);
-void switch_core_sqldb_destroy();
+void switch_core_sqldb_destroy(void);
 switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_t manage);
 void switch_core_sqldb_stop(void);
 void switch_core_session_init(switch_memory_pool_t *pool);
index 83db2fc0d9c7c39237687603bc65d890d4ca9d85..cf2343482aecd148a276150ba8d5d8efe57e186f 100644 (file)
@@ -3009,7 +3009,7 @@ SWITCH_DECLARE(switch_bool_t) switch_core_ready_outbound(void)
        return (switch_test_flag((&runtime), SCF_SHUTTING_DOWN) || switch_test_flag((&runtime), SCF_NO_NEW_OUTBOUND_SESSIONS)) ? SWITCH_FALSE : SWITCH_TRUE;
 }
 
-void switch_core_sqldb_destroy()
+void switch_core_sqldb_destroy(void)
 {
        if (switch_test_flag((&runtime), SCF_USE_SQL)) {
                switch_core_sqldb_stop();