aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c
index 1773fc447..15b22f53e 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -44,7 +44,7 @@
#define CONTROLLER_IO_TIMEOUT 120
/* Init functions */
-gpointer init_controller ();
+gpointer init_controller (void);
void start_controller (struct rspamd_worker *worker);
worker_t controller_worker = {
@@ -1241,7 +1241,7 @@ accept_socket (gint fd, short what, void *arg)
}
gpointer
-init_controller ()
+init_controller (void)
{
struct rspamd_controller_ctx *ctx;
GQuark type;