aboutsummaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-04 15:00:15 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-04 15:00:15 +0100
commit98a4c7cf3d799ab953cb77e8b34597c73e3e7335 (patch)
tree2d9c07825697cd7c6e96647ff0992dce4d4a0115 /runit/runsv.c
parent1821d188ca674b42bf0f384b0c2332ff95701bba (diff)
downloadbusybox-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/runsv.c')
-rw-r--r--runit/runsv.c2
1 files changed, 1 insertions, 1 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 )