summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-01-16 10:21:15 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-01-16 10:21:15 (GMT)
commite8d0a1450a04d83b540f1f58297e79c2cf0f5b4f (patch)
tree5ea1833f5dcfed306d7009c8113ff30df7d6fbf4
parentdf1689138e71fa3648209db28146a595c4e63c26 (diff)
downloadbusybox-e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f.tar.gz
busybox-e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f.tar.bz2
remove a few aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--procps/free.c2
-rw-r--r--procps/fuser.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/procps/free.c b/procps/free.c
index efbac5b..ad8711f 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 addf1a7..a1b93d7 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)