From: Timo Sirainen Date: Wed, 15 Apr 2020 14:18:42 +0000 (+0300) Subject: mail-crypt, master: Remove unused DEF & DEFLIST macros X-Git-Tag: 2.3.15~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f54fff4552e6ba7baa91882d6bfeeaf33a64583a;p=thirdparty%2Fdovecot%2Fcore.git mail-crypt, master: Remove unused DEF & DEFLIST macros --- diff --git a/src/master/master-settings.c b/src/master/master-settings.c index 80bce8bd4b..134ee396bc 100644 --- a/src/master/master-settings.c +++ b/src/master/master-settings.c @@ -91,12 +91,9 @@ static const struct setting_parser_info inet_listener_setting_parser_info = { }; #undef DEF -#undef DEFLIST #undef DEFLIST_UNIQUE #define DEF(type, name) \ { type, #name, offsetof(struct service_settings, name), NULL } -#define DEFLIST(field, name, defines) \ - { SET_DEFLIST, name, offsetof(struct service_settings, field), defines } #define DEFLIST_UNIQUE(field, name, defines) \ { SET_DEFLIST_UNIQUE, name, offsetof(struct service_settings, field), defines } diff --git a/src/plugins/mail-crypt/fs-crypt-settings.c b/src/plugins/mail-crypt/fs-crypt-settings.c index 7b1ca245db..e09e8da58e 100644 --- a/src/plugins/mail-crypt/fs-crypt-settings.c +++ b/src/plugins/mail-crypt/fs-crypt-settings.c @@ -7,10 +7,6 @@ #include "mail-storage-settings.h" #include "fs-crypt-settings.h" -#undef DEF -#define DEF(type, name) \ - { type, #name, offsetof(struct fs_crypt_settings, name), NULL } - static const struct setting_define fs_crypt_setting_defines[] = { { SET_STRLIST, "plugin", offsetof(struct fs_crypt_settings, plugin_envs), NULL },