aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-05 14:40:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-05 14:40:23 +0100
commit36659fda1f05e735839b22d9e8892731fb46d7b0 (patch)
treed4e24cbd45d18ea1aa58cbb0d76aa9a69869db00 /networking/libiproute
parent12ca080a1ca8dfd0aeac54485451b906a7e61b16 (diff)
downloadbusybox-w32-36659fda1f05e735839b22d9e8892731fb46d7b0.tar.gz
busybox-w32-36659fda1f05e735839b22d9e8892731fb46d7b0.tar.bz2
busybox-w32-36659fda1f05e735839b22d9e8892731fb46d7b0.zip
*: fix 1/4 remaining aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/ipaddress.c5
-rw-r--r--networking/libiproute/iproute.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index f2e340a42..af29dd301 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -23,7 +23,7 @@
23#define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/ 23#define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/
24#endif 24#endif
25 25
26typedef struct filter_t { 26struct filter_t {
27 char *label; 27 char *label;
28 char *flushb; 28 char *flushb;
29 struct rtnl_handle *rth; 29 struct rtnl_handle *rth;
@@ -38,7 +38,8 @@ typedef struct filter_t {
38 smallint up; 38 smallint up;
39 smallint flushed; 39 smallint flushed;
40 inet_prefix pfx; 40 inet_prefix pfx;
41} filter_t; 41} FIX_ALIASING;
42typedef struct filter_t filter_t;
42 43
43#define G_filter (*(filter_t*)&bb_common_bufsiz1) 44#define G_filter (*(filter_t*)&bb_common_bufsiz1)
44 45
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 520cc820a..68e3c36a0 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -22,7 +22,7 @@
22#endif 22#endif
23 23
24 24
25typedef struct filter_t { 25struct filter_t {
26 int tb; 26 int tb;
27 smallint flushed; 27 smallint flushed;
28 char *flushb; 28 char *flushb;
@@ -43,7 +43,8 @@ typedef struct filter_t {
43 inet_prefix mdst; 43 inet_prefix mdst;
44 inet_prefix rsrc; 44 inet_prefix rsrc;
45 inet_prefix msrc; 45 inet_prefix msrc;
46} filter_t; 46} FIX_ALIASING;
47typedef struct filter_t filter_t;
47 48
48#define G_filter (*(filter_t*)&bb_common_bufsiz1) 49#define G_filter (*(filter_t*)&bb_common_bufsiz1)
49 50