aboutsummaryrefslogtreecommitdiff
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)
downloadbusybox-w32-25b2680056454dc4761ba3b2efde7c3414738f8c.tar.gz
busybox-w32-25b2680056454dc4761ba3b2efde7c3414738f8c.tar.bz2
busybox-w32-25b2680056454dc4761ba3b2efde7c3414738f8c.zip
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 {
11 pid_t helper_pid; 11 pid_t helper_pid;
12 unsigned timeout; 12 unsigned timeout;
13 unsigned verbose; 13 unsigned verbose;
14 unsigned opts;
15 char *user; 14 char *user;
16 char *pass; 15 char *pass;
17 FILE *fp0; // initial stdin 16 FILE *fp0; // initial stdin
@@ -19,9 +18,6 @@ struct globals {
19}; 18};
20 19
21#define G (*ptr_to_globals) 20#define G (*ptr_to_globals)
22#define timeout (G.timeout )
23#define verbose (G.verbose )
24#define opts (G.opts )
25#define INIT_G() do { \ 21#define INIT_G() do { \
26 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 22 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
27 G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \ 23 G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \