]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_verto] Fix function declarations without a prototype 2151/head
authorJakub Karolczyk <jakub.karolczyk@signalwire.com>
Sat, 8 Jul 2023 11:29:23 +0000 (06:29 -0500)
committerJakub Karolczyk <jakub.karolczyk@signalwire.com>
Sat, 8 Jul 2023 11:29:23 +0000 (06:29 -0500)
src/mod/endpoints/mod_verto/mod_verto.c

index 6d49fc022b0df5048c9a0e60aaba2bca08c5ff1a..9423d03c287c8dd05130accdabd2b9a866ebb935 100644 (file)
@@ -5606,7 +5606,7 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl
        return SWITCH_STATUS_SUCCESS;
 }
 
-static cJSON *json_status()
+static cJSON *json_status(void)
 {
        cJSON *obj, *profiles, *jprofile, *users, *user;
        verto_profile_t *profile = NULL;
@@ -6735,14 +6735,14 @@ static void mod_verto_ks_logger(const char *file, const char *func, int line, in
        va_end(ap);
 }
 
-static void verto_event_free_subclass(
+static void verto_event_free_subclass(void)
 {
        switch_event_free_subclass(MY_EVENT_LOGIN);
        switch_event_free_subclass(MY_EVENT_CLIENT_DISCONNECT);
        switch_event_free_subclass(MY_EVENT_CLIENT_CONNECT);
 }
 
-static void verto_destroy_globals_hash_tables()
+static void verto_destroy_globals_hash_tables(void)
 {
        if (verto_globals.method_hash) {
                switch_core_hash_destroy(&verto_globals.method_hash);