From 8ee5b51849f529f3d9c535663d78ad1c2a1410c7 Mon Sep 17 00:00:00 2001 From: Mikhail Galanin Date: Mon, 10 Sep 2018 15:26:55 +0100 Subject: [Minor] Fixed function declaration --- src/rspamadm/rspamadm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rspamadm/rspamadm.c') diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index fad9b2fcd..052dcd1d6 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -323,7 +323,7 @@ rspamadm_command_maybe_match_name (const gchar *cmd, const gchar *input) static void -rspamadm_add_lua_globals() +rspamadm_add_lua_globals (void) { struct rspamd_async_session **psession; struct event_base **pev_base; @@ -444,7 +444,7 @@ main (gint argc, gchar **argv, gchar **env) L = cfg->lua_state; rspamd_lua_set_path (L, NULL, ucl_vars); rspamd_lua_set_globals (cfg, L, ucl_vars); - rspamadm_add_lua_globals(); + rspamadm_add_lua_globals (); #ifdef WITH_HIREDIS rspamd_redis_pool_config (cfg->redis_pool, cfg, rspamd_main->ev_base); -- cgit v1.2.3