diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-16 11:21:15 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-16 11:21:15 +0100 |
commit | e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f (patch) | |
tree | 5ea1833f5dcfed306d7009c8113ff30df7d6fbf4 | |
parent | df1689138e71fa3648209db28146a595c4e63c26 (diff) | |
download | busybox-w32-e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f.tar.gz busybox-w32-e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f.tar.bz2 busybox-w32-e8d0a1450a04d83b540f1f58297e79c2cf0f5b4f.zip |
remove a few aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | procps/free.c | 2 | ||||
-rw-r--r-- | procps/fuser.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 { | |||
19 | #else | 19 | #else |
20 | # define G_unit_steps 10 | 20 | # define G_unit_steps 10 |
21 | #endif | 21 | #endif |
22 | }; | 22 | } FIX_ALIASING; |
23 | #define G (*(struct globals*)&bb_common_bufsiz1) | 23 | #define G (*(struct globals*)&bb_common_bufsiz1) |
24 | #define INIT_G() do { } while (0) | 24 | #define INIT_G() do { } while (0) |
25 | 25 | ||
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 { | |||
35 | struct globals { | 35 | struct globals { |
36 | pid_list *pid_list_head; | 36 | pid_list *pid_list_head; |
37 | inode_list *inode_list_head; | 37 | inode_list *inode_list_head; |
38 | }; | 38 | } FIX_ALIASING; |
39 | #define G (*(struct globals*)&bb_common_bufsiz1) | 39 | #define G (*(struct globals*)&bb_common_bufsiz1) |
40 | #define INIT_G() do { } while (0) | 40 | #define INIT_G() do { } while (0) |
41 | 41 | ||