diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-21 01:59:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-21 01:59:15 +0200 |
commit | 16714245f9a16ce3725aab079aea7b0d28c6b32f (patch) | |
tree | 41edbcd1c279b2baae2d5e5751639076e0a3bfad /networking | |
parent | 5c6ba6c56f9653488e1d805e727bb06c39ed23fa (diff) | |
download | busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.tar.gz busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.tar.bz2 busybox-w32-16714245f9a16ce3725aab079aea7b0d28c6b32f.zip |
add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/zcip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/zcip.c b/networking/zcip.c index 8a35eca5d..7314ff8db 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -91,6 +91,7 @@ struct globals { | |||
91 | #define G (*(struct globals*)&bb_common_bufsiz1) | 91 | #define G (*(struct globals*)&bb_common_bufsiz1) |
92 | #define saddr (G.saddr ) | 92 | #define saddr (G.saddr ) |
93 | #define eth_addr (G.eth_addr) | 93 | #define eth_addr (G.eth_addr) |
94 | #define INIT_G() do { } while (0) | ||
94 | 95 | ||
95 | 96 | ||
96 | /** | 97 | /** |
@@ -223,6 +224,7 @@ int zcip_main(int argc UNUSED_PARAM, char **argv) | |||
223 | #define verbose (L.verbose ) | 224 | #define verbose (L.verbose ) |
224 | 225 | ||
225 | memset(&L, 0, sizeof(L)); | 226 | memset(&L, 0, sizeof(L)); |
227 | INIT_G(); | ||
226 | 228 | ||
227 | #define FOREGROUND (opts & 1) | 229 | #define FOREGROUND (opts & 1) |
228 | #define QUIT (opts & 2) | 230 | #define QUIT (opts & 2) |