From: Denys Vlasenko Date: Sun, 16 Jan 2011 10:21:15 +0000 (+0100) Subject: remove a few aliasing warnings X-Git-Tag: 1_19_0~405 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f;p=oweals%2Fbusybox.git remove a few aliasing warnings Signed-off-by: Denys Vlasenko --- diff --git a/procps/free.c b/procps/free.c index efbac5ba6..ad8711f8a 100644 --- a/procps/free.c +++ b/procps/free.c @@ -19,7 +19,7 @@ struct globals { #else # define G_unit_steps 10 #endif -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) #define INIT_G() do { } while (0) diff --git a/procps/fuser.c b/procps/fuser.c index addf1a7d8..a1b93d77f 100644 --- a/procps/fuser.c +++ b/procps/fuser.c @@ -35,7 +35,7 @@ typedef struct pid_list { struct globals { pid_list *pid_list_head; inode_list *inode_list_head; -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) #define INIT_G() do { } while (0)