diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-04 15:00:15 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-04 15:00:15 +0100 |
commit | 98a4c7cf3d799ab953cb77e8b34597c73e3e7335 (patch) | |
tree | 2d9c07825697cd7c6e96647ff0992dce4d4a0115 /coreutils | |
parent | 1821d188ca674b42bf0f384b0c2332ff95701bba (diff) | |
download | busybox-w32-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.tar.gz busybox-w32-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.tar.bz2 busybox-w32-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.zip |
*: suppress ~60% of "aliased warnings" on gcc-4.4.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/dd.c | 2 | ||||
-rw-r--r-- | coreutils/du.c | 2 | ||||
-rw-r--r-- | coreutils/expr.c | 2 | ||||
-rw-r--r-- | coreutils/ls.c | 2 | ||||
-rw-r--r-- | coreutils/stty.c | 2 | ||||
-rw-r--r-- | coreutils/tail.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 8173d403d..7c1a0c0df 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -38,7 +38,7 @@ struct globals { | |||
38 | unsigned long long total_bytes; | 38 | unsigned long long total_bytes; |
39 | unsigned long long begin_time_us; | 39 | unsigned long long begin_time_us; |
40 | #endif | 40 | #endif |
41 | }; | 41 | } FIX_ALIASING; |
42 | #define G (*(struct globals*)&bb_common_bufsiz1) | 42 | #define G (*(struct globals*)&bb_common_bufsiz1) |
43 | #define INIT_G() do { \ | 43 | #define INIT_G() do { \ |
44 | /* we have to zero it out because of NOEXEC */ \ | 44 | /* we have to zero it out because of NOEXEC */ \ |
diff --git a/coreutils/du.c b/coreutils/du.c index 730d6d162..5894ed438 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
@@ -50,7 +50,7 @@ struct globals { | |||
50 | int slink_depth; | 50 | int slink_depth; |
51 | int du_depth; | 51 | int du_depth; |
52 | dev_t dir_dev; | 52 | dev_t dir_dev; |
53 | }; | 53 | } FIX_ALIASING; |
54 | #define G (*(struct globals*)&bb_common_bufsiz1) | 54 | #define G (*(struct globals*)&bb_common_bufsiz1) |
55 | 55 | ||
56 | 56 | ||
diff --git a/coreutils/expr.c b/coreutils/expr.c index f5701a460..f40edad4e 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c | |||
@@ -63,7 +63,7 @@ typedef struct valinfo VALUE; | |||
63 | /* The arguments given to the program, minus the program name. */ | 63 | /* The arguments given to the program, minus the program name. */ |
64 | struct globals { | 64 | struct globals { |
65 | char **args; | 65 | char **args; |
66 | }; | 66 | } FIX_ALIASING; |
67 | #define G (*(struct globals*)&bb_common_bufsiz1) | 67 | #define G (*(struct globals*)&bb_common_bufsiz1) |
68 | 68 | ||
69 | /* forward declarations */ | 69 | /* forward declarations */ |
diff --git a/coreutils/ls.c b/coreutils/ls.c index d004ce8b1..1197f7d71 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -255,7 +255,7 @@ struct globals { | |||
255 | /* Do time() just once. Saves one syscall per file for "ls -l" */ | 255 | /* Do time() just once. Saves one syscall per file for "ls -l" */ |
256 | time_t current_time_t; | 256 | time_t current_time_t; |
257 | #endif | 257 | #endif |
258 | }; | 258 | } FIX_ALIASING; |
259 | #define G (*(struct globals*)&bb_common_bufsiz1) | 259 | #define G (*(struct globals*)&bb_common_bufsiz1) |
260 | #if ENABLE_FEATURE_LS_COLOR | 260 | #if ENABLE_FEATURE_LS_COLOR |
261 | # define show_color (G.show_color ) | 261 | # define show_color (G.show_color ) |
diff --git a/coreutils/stty.c b/coreutils/stty.c index 4952d53d3..c40d718af 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -625,7 +625,7 @@ struct globals { | |||
625 | /* Current position, to know when to wrap */ | 625 | /* Current position, to know when to wrap */ |
626 | unsigned current_col; | 626 | unsigned current_col; |
627 | char buf[10]; | 627 | char buf[10]; |
628 | }; | 628 | } FIX_ALIASING; |
629 | #define G (*(struct globals*)&bb_common_bufsiz1) | 629 | #define G (*(struct globals*)&bb_common_bufsiz1) |
630 | #define INIT_G() do { \ | 630 | #define INIT_G() do { \ |
631 | G.device_name = bb_msg_standard_input; \ | 631 | G.device_name = bb_msg_standard_input; \ |
diff --git a/coreutils/tail.c b/coreutils/tail.c index 0be166315..83768d420 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
@@ -35,7 +35,7 @@ static const struct suffix_mult tail_suffixes[] = { | |||
35 | 35 | ||
36 | struct globals { | 36 | struct globals { |
37 | bool status; | 37 | bool status; |
38 | }; | 38 | } FIX_ALIASING; |
39 | #define G (*(struct globals*)&bb_common_bufsiz1) | 39 | #define G (*(struct globals*)&bb_common_bufsiz1) |
40 | 40 | ||
41 | static void tail_xprint_header(const char *fmt, const char *filename) | 41 | static void tail_xprint_header(const char *fmt, const char *filename) |