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 /debianutils | |
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 'debianutils')
-rw-r--r-- | debianutils/run_parts.c | 2 | ||||
-rw-r--r-- | debianutils/start_stop_daemon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index ea019c27c..2854a539c 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c | |||
@@ -36,7 +36,7 @@ struct globals { | |||
36 | char **names; | 36 | char **names; |
37 | int cur; | 37 | int cur; |
38 | char *cmd[1]; | 38 | char *cmd[1]; |
39 | }; | 39 | } FIX_ALIASING; |
40 | #define G (*(struct globals*)&bb_common_bufsiz1) | 40 | #define G (*(struct globals*)&bb_common_bufsiz1) |
41 | #define names (G.names) | 41 | #define names (G.names) |
42 | #define cur (G.cur ) | 42 | #define cur (G.cur ) |
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 10da8dce4..dfc72f01a 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -96,7 +96,7 @@ struct globals { | |||
96 | char *pidfile; | 96 | char *pidfile; |
97 | int user_id; | 97 | int user_id; |
98 | smallint signal_nr; | 98 | smallint signal_nr; |
99 | }; | 99 | } FIX_ALIASING; |
100 | #define G (*(struct globals*)&bb_common_bufsiz1) | 100 | #define G (*(struct globals*)&bb_common_bufsiz1) |
101 | #define found (G.found ) | 101 | #define found (G.found ) |
102 | #define userspec (G.userspec ) | 102 | #define userspec (G.userspec ) |