aboutsummaryrefslogtreecommitdiff
path: root/networking/tc.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 /networking/tc.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 'networking/tc.c')
-rw-r--r--networking/tc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/tc.c b/networking/tc.c
index 541a0f8f4..6a5a8504f 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -43,8 +43,7 @@ struct globals {
43 __u32 filter_parent; 43 __u32 filter_parent;
44 __u32 filter_prio; 44 __u32 filter_prio;
45 __u32 filter_proto; 45 __u32 filter_proto;
46}; 46} FIX_ALIASING;
47
48#define G (*(struct globals*)&bb_common_bufsiz1) 47#define G (*(struct globals*)&bb_common_bufsiz1)
49#define filter_ifindex (G.filter_ifindex) 48#define filter_ifindex (G.filter_ifindex)
50#define filter_qdisc (G.filter_qdisc) 49#define filter_qdisc (G.filter_qdisc)