diff options
author | Denys Vlasenko | 2010-02-04 15:00:15 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-02-04 15:00:15 +0100 |
commit | 98a4c7cf3d799ab953cb77e8b34597c73e3e7335 (patch) | |
tree | 2d9c07825697cd7c6e96647ff0992dce4d4a0115 /findutils | |
parent | 1821d188ca674b42bf0f384b0c2332ff95701bba (diff) | |
download | busybox-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.zip busybox-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.tar.gz |
*: suppress ~60% of "aliased warnings" on gcc-4.4.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/find.c | 2 | ||||
-rw-r--r-- | findutils/grep.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c index b417123..4bc3b38 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -104,7 +104,7 @@ struct globals { action ***actions; bool need_print; recurse_flags_t recurse_flags; -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) #define INIT_G() do { \ struct G_sizecheck { \ diff --git a/findutils/grep.c b/findutils/grep.c index 193b48c..a321cc3 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -111,7 +111,7 @@ struct globals { /* globals used internally */ llist_t *pattern_head; /* growable list of patterns to match */ const char *cur_file; /* the current file we are reading */ -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) #define INIT_G() do { \ struct G_sizecheck { \ |