From: Mikhail Galanin Date: Mon, 10 Sep 2018 14:33:36 +0000 (+0100) Subject: [Minor] More declaration fixes X-Git-Tag: 1.8.0~149^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2480%2Fhead;p=thirdparty%2Frspamd.git [Minor] More declaration fixes --- diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index 710b9c5ef7..c6c5fd0bf1 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -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) {