diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-05-31 10:41:45 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-05-31 10:41:45 +0200 |
commit | bccbcfb6b48906eec7a9436922cdb8f6be6c8ad8 (patch) | |
tree | f935d1f478d5f9d13c7a8452cc90d2e1389fceef /antispam-plugin.c | |
parent | 38db5199da4be4832bf852244951a07b0bc28edb (diff) | |
download | dovecot-antispam-bccbcfb6b48906eec7a9436922cdb8f6be6c8ad8.tar.gz dovecot-antispam-bccbcfb6b48906eec7a9436922cdb8f6be6c8ad8.tar.xz dovecot-antispam-bccbcfb6b48906eec7a9436922cdb8f6be6c8ad8.zip |
clean up dovecot compat code a bit
Diffstat (limited to '')
-rw-r--r-- | antispam-plugin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/antispam-plugin.c b/antispam-plugin.c index fdde26d..2e6449d 100644 --- a/antispam-plugin.c +++ b/antispam-plugin.c @@ -40,9 +40,8 @@ extern void (*hook_mail_storage_created)(struct mail_storage *storage); /* internal stuff we need */ #include "antispam-plugin.h" -#ifdef CONFIG_DOVECOT_11 -uint32_t PLUGIN_FUNCTION(id) = 0; -#endif +/* macro since only needed for dovecot 1.1 */ +PLUGIN_ID; static pool_t global_pool; static char **trash_folders = NULL; |