aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:39:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:39:23 +0100
commit25b0522484e06ca21957abc2fa7f234fe23e8f7d (patch)
tree805c0bb4d4e99197b68db6edc37e15732b944cdc /src/fuzzy_storage.c
parent2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (diff)
downloadrspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.tar.gz
rspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.zip
Avoid global rspamd_main usage.
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 4b9d118dc..deb08966f 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -49,6 +49,7 @@
#define INVALID_NODE_TIME (guint64) - 1
+extern struct rspamd_main *rspamd_main;
/* Init functions */
gpointer init_fuzzy (struct rspamd_config *cfg);
void start_fuzzy (struct rspamd_worker *worker);