diff options
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index be3d5a673..f732d02a4 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -27,7 +27,7 @@ struct globals { | |||
27 | #define G (*(struct globals*)&bb_common_bufsiz1) | 27 | #define G (*(struct globals*)&bb_common_bufsiz1) |
28 | enum { BUFSZ = COMMON_BUFSIZE - offsetof(struct globals, buf) }; | 28 | enum { BUFSZ = COMMON_BUFSIZE - offsetof(struct globals, buf) }; |
29 | struct BUG_G_too_big { | 29 | struct BUG_G_too_big { |
30 | char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1]; | 30 | char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1]; |
31 | }; | 31 | }; |
32 | #define user (G.user ) | 32 | #define user (G.user ) |
33 | #define password (G.password ) | 33 | #define password (G.password ) |
@@ -36,8 +36,7 @@ struct BUG_G_too_big { | |||
36 | #define verbose_flag (G.verbose_flag ) | 36 | #define verbose_flag (G.verbose_flag ) |
37 | #define do_continue (G.do_continue ) | 37 | #define do_continue (G.do_continue ) |
38 | #define buf (G.buf ) | 38 | #define buf (G.buf ) |
39 | #define INIT_G() do { \ | 39 | #define INIT_G() do { } while (0) |
40 | } while (0) | ||
41 | 40 | ||
42 | 41 | ||
43 | static void ftp_die(const char *msg) ATTRIBUTE_NORETURN; | 42 | static void ftp_die(const char *msg) ATTRIBUTE_NORETURN; |