mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
[core,libyuv,modules] Fix function declarations without a prototype
This commit is contained in:
@@ -2208,7 +2208,7 @@ static void parse_codecs(avcodec_profile_t *aprofile, switch_xml_t codecs)
|
||||
}
|
||||
|
||||
|
||||
static void load_config()
|
||||
static void load_config(void)
|
||||
{
|
||||
switch_xml_t cfg = NULL, xml = NULL;
|
||||
|
||||
|
||||
@@ -2861,7 +2861,7 @@ static char *supported_formats[SWITCH_MAX_CODECS] = { 0 };
|
||||
|
||||
static const char modname[] = "mod_av";
|
||||
|
||||
static switch_status_t load_config()
|
||||
static switch_status_t load_config(void)
|
||||
{
|
||||
char *cf = "avformat.conf";
|
||||
switch_xml_t cfg, xml, param, settings;
|
||||
|
||||
@@ -75,7 +75,7 @@ struct _mapping control_mappings[] = {
|
||||
{"deaf off", conference_loop_deaf_off}
|
||||
};
|
||||
|
||||
int conference_loop_mapping_len()
|
||||
int conference_loop_mapping_len(void)
|
||||
{
|
||||
return (sizeof(control_mappings)/sizeof(control_mappings[0]));
|
||||
}
|
||||
|
||||
@@ -1124,7 +1124,7 @@ void conference_video_canvas_del_fnode_layer(conference_obj_t *conference, confe
|
||||
void conference_video_canvas_set_fnode_layer(mcu_canvas_t *canvas, conference_file_node_t *fnode, int idx);
|
||||
void conference_list(conference_obj_t *conference, switch_stream_handle_t *stream, char *delim);
|
||||
const char *conference_utils_combine_flag_var(switch_core_session_t *session, const char *var_name);
|
||||
int conference_loop_mapping_len();
|
||||
int conference_loop_mapping_len(void);
|
||||
void conference_api_set_agc(conference_member_t *member, const char *data);
|
||||
|
||||
switch_status_t conference_outcall(conference_obj_t *conference,
|
||||
|
||||
@@ -280,7 +280,7 @@ static switch_xml_config_item_t config_settings[] = {
|
||||
SWITCH_CONFIG_ITEM_END()
|
||||
};
|
||||
|
||||
static switch_status_t do_config()
|
||||
static switch_status_t do_config(void)
|
||||
{
|
||||
switch_cache_db_handle_t *dbh = NULL;
|
||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||
|
||||
@@ -704,7 +704,7 @@ done:
|
||||
return status;
|
||||
}
|
||||
|
||||
static switch_status_t load_config()
|
||||
static switch_status_t load_config(void)
|
||||
{
|
||||
char *cf = "signalwire.conf";
|
||||
switch_xml_t cfg, xml;
|
||||
@@ -1390,7 +1390,7 @@ static void mod_signalwire_state_register(void)
|
||||
}
|
||||
}
|
||||
|
||||
static void mod_signalwire_state_ready()
|
||||
static void mod_signalwire_state_ready(void)
|
||||
{
|
||||
if (globals.profile_update) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Signalwire SIP profile update initiated\n");
|
||||
|
||||
@@ -2136,7 +2136,7 @@ void launch_skinny_profile_thread(skinny_profile_t *profile) {
|
||||
/*****************************************************************************/
|
||||
/* MODULE FUNCTIONS */
|
||||
/*****************************************************************************/
|
||||
switch_endpoint_interface_t *skinny_get_endpoint_interface()
|
||||
switch_endpoint_interface_t *skinny_get_endpoint_interface(void)
|
||||
{
|
||||
return skinny_endpoint_interface;
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ switch_status_t channel_kill_channel(switch_core_session_t *session, int sig);
|
||||
/*****************************************************************************/
|
||||
/* MODULE FUNCTIONS */
|
||||
/*****************************************************************************/
|
||||
switch_endpoint_interface_t *skinny_get_endpoint_interface();
|
||||
switch_endpoint_interface_t *skinny_get_endpoint_interface(void);
|
||||
|
||||
/*****************************************************************************/
|
||||
/* TEXT FUNCTIONS */
|
||||
|
||||
@@ -697,7 +697,7 @@ switch_status_t skinny_api_register(switch_loadable_module_interface_t **module_
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
switch_status_t skinny_api_unregister()
|
||||
switch_status_t skinny_api_unregister(void)
|
||||
{
|
||||
switch_console_set_complete("del skinny");
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#define _SKINNY_API_H
|
||||
|
||||
switch_status_t skinny_api_register(switch_loadable_module_interface_t **module_interface);
|
||||
switch_status_t skinny_api_unregister();
|
||||
switch_status_t skinny_api_unregister(void);
|
||||
|
||||
#endif /* _SKINNY_API_H */
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ switch_endpoint_interface_t *sofia_endpoint_interface;
|
||||
|
||||
#define STRLEN 15
|
||||
|
||||
void mod_sofia_shutdown_cleanup();
|
||||
void mod_sofia_shutdown_cleanup(void);
|
||||
static switch_status_t sofia_on_init(switch_core_session_t *session);
|
||||
|
||||
static switch_status_t sofia_on_exchange_media(switch_core_session_t *session);
|
||||
@@ -6833,7 +6833,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_sofia_load)
|
||||
return status;
|
||||
}
|
||||
|
||||
void mod_sofia_shutdown_cleanup() {
|
||||
void mod_sofia_shutdown_cleanup(void) {
|
||||
int sanity = 0;
|
||||
int i;
|
||||
switch_status_t st;
|
||||
|
||||
@@ -90,7 +90,7 @@ static const char *test_wait_for_chan_var(switch_channel_t *channel, const char
|
||||
return var;
|
||||
}
|
||||
|
||||
static switch_bool_t has_ipv6()
|
||||
static switch_bool_t has_ipv6(void)
|
||||
{
|
||||
switch_stream_handle_t stream = { 0 };
|
||||
SWITCH_STANDARD_STREAM(stream);
|
||||
@@ -110,7 +110,7 @@ static switch_bool_t has_ipv6()
|
||||
return SWITCH_TRUE;
|
||||
}
|
||||
|
||||
static void register_gw()
|
||||
static void register_gw(void)
|
||||
{
|
||||
switch_stream_handle_t stream = { 0 };
|
||||
SWITCH_STANDARD_STREAM(stream);
|
||||
@@ -118,7 +118,7 @@ static void register_gw()
|
||||
switch_safe_free(stream.data);
|
||||
}
|
||||
|
||||
static void unregister_gw()
|
||||
static void unregister_gw(void)
|
||||
{
|
||||
switch_stream_handle_t stream = { 0 };
|
||||
SWITCH_STANDARD_STREAM(stream);
|
||||
|
||||
@@ -272,7 +272,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
|
||||
}
|
||||
|
||||
|
||||
static void do_rotate_all()
|
||||
static void do_rotate_all(void)
|
||||
{
|
||||
switch_hash_index_t *hi;
|
||||
void *val;
|
||||
@@ -294,7 +294,7 @@ static void do_rotate_all()
|
||||
}
|
||||
|
||||
|
||||
static void do_teardown()
|
||||
static void do_teardown(void)
|
||||
{
|
||||
switch_hash_index_t *hi;
|
||||
void *val;
|
||||
|
||||
@@ -88,7 +88,7 @@ static size_t httpCallBack(char *buffer, size_t size, size_t nitems, void *outst
|
||||
return size * nitems;
|
||||
}
|
||||
|
||||
static switch_status_t set_xml_cdr_log_dirs()
|
||||
static switch_status_t set_xml_cdr_log_dirs(void)
|
||||
{
|
||||
switch_time_exp_t tm;
|
||||
char *path = NULL;
|
||||
|
||||
Reference in New Issue
Block a user