]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
mail-crypt, master: Remove unused DEF & DEFLIST macros
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 15 Apr 2020 14:18:42 +0000 (17:18 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Thu, 18 Mar 2021 08:35:02 +0000 (08:35 +0000)
src/master/master-settings.c
src/plugins/mail-crypt/fs-crypt-settings.c

index 80bce8bd4bb59ddf980b42bad47765d5f6150692..134ee396bce7d63f42d3506528e3fdbd3beeb2b6 100644 (file)
@@ -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 }
 
index 7b1ca245db08ea11da6c4a3a6f2163ffa413281e..e09e8da58e02bf38e4c08774d0ce7d627ba4f6d8 100644 (file)
@@ -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 },