From 36659fda1f05e735839b22d9e8892731fb46d7b0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 5 Feb 2010 14:40:23 +0100 Subject: *: fix 1/4 remaining aliasing warnings Signed-off-by: Denys Vlasenko --- networking/libiproute/ipaddress.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'networking/libiproute/ipaddress.c') 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 @@ #define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/ #endif -typedef struct filter_t { +struct filter_t { char *label; char *flushb; struct rtnl_handle *rth; @@ -38,7 +38,8 @@ typedef struct filter_t { smallint up; smallint flushed; inet_prefix pfx; -} filter_t; +} FIX_ALIASING; +typedef struct filter_t filter_t; #define G_filter (*(filter_t*)&bb_common_bufsiz1) -- cgit v1.2.3