[Dovecot] [PATCH 5/5] remove redundant "extern" declarations
Max Kellermann
max at duempel.org
Thu Mar 15 16:35:02 EET 2007
---
src/plugins/acl/acl-plugin.c | 3 ---
src/plugins/expire/expire-plugin.c | 3 ---
src/plugins/mail-log/mail-log-plugin.c | 3 ---
src/plugins/zlib/zlib-plugin.c | 3 ---
4 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/plugins/acl/acl-plugin.c b/src/plugins/acl/acl-plugin.c
index 7316c3b..5054c0e 100644
--- a/src/plugins/acl/acl-plugin.c
+++ b/src/plugins/acl/acl-plugin.c
@@ -8,9 +8,6 @@
#include <stdlib.h>
-/* defined by imap, pop3, lda */
-extern void (*hook_mail_storage_created)(struct mail_storage *storage);
-
void (*acl_next_hook_mail_storage_created)(struct mail_storage *storage);
void (*acl_next_hook_mailbox_list_created)(struct mailbox_list *list);
diff --git a/src/plugins/expire/expire-plugin.c b/src/plugins/expire/expire-plugin.c
index db0f1ee..e88bcae 100644
--- a/src/plugins/expire/expire-plugin.c
+++ b/src/plugins/expire/expire-plugin.c
@@ -46,9 +46,6 @@ struct expire_transaction_context {
unsigned int first_expunged:1;
};
-/* defined by imap, pop3, lda */
-extern void (*hook_mail_storage_created)(struct mail_storage *storage);
-
const char *expire_plugin_version = PACKAGE_VERSION;
static struct expire expire;
diff --git a/src/plugins/mail-log/mail-log-plugin.c b/src/plugins/mail-log/mail-log-plugin.c
index d1609a8..be87ae6 100644
--- a/src/plugins/mail-log/mail-log-plugin.c
+++ b/src/plugins/mail-log/mail-log-plugin.c
@@ -25,9 +25,6 @@ struct mail_log_mail {
struct mail_vfuncs super;
};
-/* defined by imap, pop3, lda */
-extern void (*hook_mail_storage_created)(struct mail_storage *storage);
-
const char *mail_log_plugin_version = PACKAGE_VERSION;
static void (*mail_log_next_hook_mail_storage_created)
diff --git a/src/plugins/zlib/zlib-plugin.c b/src/plugins/zlib/zlib-plugin.c
index bf94be0..851055b 100644
--- a/src/plugins/zlib/zlib-plugin.c
+++ b/src/plugins/zlib/zlib-plugin.c
@@ -18,9 +18,6 @@ struct zlib_mail_storage {
*((void **)array_idx_modifiable(&(obj)->module_contexts, \
zlib_storage_module_id))
-/* defined by imap, pop3, lda */
-extern void (*hook_mail_storage_created)(struct mail_storage *storage);
-
const char *zlib_plugin_version = PACKAGE_VERSION;
static void (*zlib_next_hook_mail_storage_created)
More information about the dovecot
mailing list