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 /runit | |
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 'runit')
-rw-r--r-- | runit/runsv.c | 2 | ||||
-rw-r--r-- | runit/runsvdir.c | 2 | ||||
-rw-r--r-- | runit/sv.c | 2 | ||||
-rw-r--r-- | runit/svlogd.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 48b83960d..5b221e90a 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -95,7 +95,7 @@ struct globals { | |||
95 | struct fd_pair logpipe; | 95 | struct fd_pair logpipe; |
96 | char *dir; | 96 | char *dir; |
97 | struct svdir svd[2]; | 97 | struct svdir svd[2]; |
98 | }; | 98 | } FIX_ALIASING; |
99 | #define G (*(struct globals*)&bb_common_bufsiz1) | 99 | #define G (*(struct globals*)&bb_common_bufsiz1) |
100 | #define haslog (G.haslog ) | 100 | #define haslog (G.haslog ) |
101 | #define sigterm (G.sigterm ) | 101 | #define sigterm (G.sigterm ) |
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index f6aaeb7d4..71fde757e 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c | |||
@@ -58,7 +58,7 @@ struct globals { | |||
58 | struct pollfd pfd[1]; | 58 | struct pollfd pfd[1]; |
59 | unsigned stamplog; | 59 | unsigned stamplog; |
60 | #endif | 60 | #endif |
61 | }; | 61 | } FIX_ALIASING; |
62 | #define G (*(struct globals*)&bb_common_bufsiz1) | 62 | #define G (*(struct globals*)&bb_common_bufsiz1) |
63 | #define sv (G.sv ) | 63 | #define sv (G.sv ) |
64 | #define svdir (G.svdir ) | 64 | #define svdir (G.svdir ) |
diff --git a/runit/sv.c b/runit/sv.c index 96ebb749d..3f76a2d47 100644 --- a/runit/sv.c +++ b/runit/sv.c | |||
@@ -165,7 +165,7 @@ struct globals { | |||
165 | /* "Bernstein" time format: unix + 0x400000000000000aULL */ | 165 | /* "Bernstein" time format: unix + 0x400000000000000aULL */ |
166 | uint64_t tstart, tnow; | 166 | uint64_t tstart, tnow; |
167 | svstatus_t svstatus; | 167 | svstatus_t svstatus; |
168 | }; | 168 | } FIX_ALIASING; |
169 | #define G (*(struct globals*)&bb_common_bufsiz1) | 169 | #define G (*(struct globals*)&bb_common_bufsiz1) |
170 | #define acts (G.acts ) | 170 | #define acts (G.acts ) |
171 | #define service (G.service ) | 171 | #define service (G.service ) |
diff --git a/runit/svlogd.c b/runit/svlogd.c index f556c7db5..fc8b4abb9 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -184,7 +184,7 @@ struct globals { | |||
184 | 184 | ||
185 | sigset_t blocked_sigset; | 185 | sigset_t blocked_sigset; |
186 | }; | 186 | }; |
187 | #define G (*(struct globals*)ptr_to_globals) | 187 | #define G (*ptr_to_globals) |
188 | #define dir (G.dir ) | 188 | #define dir (G.dir ) |
189 | #define verbose (G.verbose ) | 189 | #define verbose (G.verbose ) |
190 | #define linemax (G.linemax ) | 190 | #define linemax (G.linemax ) |