summaryrefslogtreecommitdiff
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-02-05 14:40:23 +0100
committerDenys Vlasenko2010-02-05 14:40:23 +0100
commit36659fda1f05e735839b22d9e8892731fb46d7b0 (patch)
treed4e24cbd45d18ea1aa58cbb0d76aa9a69869db00 /networking/libiproute/iproute.c
parent12ca080a1ca8dfd0aeac54485451b906a7e61b16 (diff)
downloadbusybox-36659fda1f05e735839b22d9e8892731fb46d7b0.zip
busybox-36659fda1f05e735839b22d9e8892731fb46d7b0.tar.gz
*: fix 1/4 remaining aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r--networking/libiproute/iproute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 520cc82..68e3c36 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -22,7 +22,7 @@
#endif
-typedef struct filter_t {
+struct filter_t {
int tb;
smallint flushed;
char *flushb;
@@ -43,7 +43,8 @@ typedef struct filter_t {
inet_prefix mdst;
inet_prefix rsrc;
inet_prefix msrc;
-} filter_t;
+} FIX_ALIASING;
+typedef struct filter_t filter_t;
#define G_filter (*(filter_t*)&bb_common_bufsiz1)