remove a few aliasing warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-01-16 11:21:15 +01:00
parent df1689138e
commit e8d0a1450a
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)