summaryrefslogtreecommitdiffhomepage
path: root/mailutils/mail.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-17 12:24:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-17 12:24:50 +0100
commit25b2680056454dc4761ba3b2efde7c3414738f8c (patch)
tree5fc9e7fd30b948a8edba34df429224e9c887eea5 /mailutils/mail.h
parent91e330a53fc8052addec941a9e1e6fcd4b68702b (diff)
mail: move "opts" from globals
function old new delta popmaildir_main 812 823 +11 sendmail_main 1295 1301 +6 makemime_main 291 288 -3 parse 970 966 -4 reformime_main 107 100 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/3 up/down: 17/-14) Total: 3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/mail.h')
-rw-r--r--mailutils/mail.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mailutils/mail.h b/mailutils/mail.h
index b14228a4a..2fcd0802d 100644
--- a/mailutils/mail.h
+++ b/mailutils/mail.h
@@ -11,7 +11,6 @@ struct globals {
pid_t helper_pid;
unsigned timeout;
unsigned verbose;
- unsigned opts;
char *user;
char *pass;
FILE *fp0; // initial stdin
@@ -19,9 +18,6 @@ struct globals {
};
#define G (*ptr_to_globals)
-#define timeout (G.timeout )
-#define verbose (G.verbose )
-#define opts (G.opts )
#define INIT_G() do { \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \