]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] More declaration fixes 2480/head
authorMikhail Galanin <mgalanin@mimecast.com>
Mon, 10 Sep 2018 14:33:36 +0000 (15:33 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Mon, 10 Sep 2018 14:33:36 +0000 (15:33 +0100)
src/rspamadm/lua_repl.c

index 710b9c5ef7909be8de2fa9a61f7859a1bfa71cfa..c6c5fd0bf16edabce18f4d7de23fbbe85c8ce0fb 100644 (file)
@@ -287,8 +287,8 @@ rspamadm_exec_input (lua_State *L, const gchar *input)
        }
 }
 
-void
-wait_session_events ()
+static void
+wait_session_events (void)
 {
        /* XXX: it's probably worth to add timeout here - not to wait forever */
        while (rspamd_session_events_pending (rspamadm_session) > 0) {