aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/rspamadm.c
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-10 15:26:55 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-10 15:26:55 +0100
commit8ee5b51849f529f3d9c535663d78ad1c2a1410c7 (patch)
treed923cbe0a432963ce9b853d579a82b827bd766f7 /src/rspamadm/rspamadm.c
parentd45ec6978fd0a19f172f6a8ead445ba30fc35467 (diff)
downloadrspamd-8ee5b51849f529f3d9c535663d78ad1c2a1410c7.tar.gz
rspamd-8ee5b51849f529f3d9c535663d78ad1c2a1410c7.zip
[Minor] Fixed function declaration
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r--src/rspamadm/rspamadm.c4
1 files changed, 2 insertions, 2 deletions
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);