mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
remove a few aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
df1689138e
commit
e8d0a1450a
@ -19,7 +19,7 @@ struct globals {
|
|||||||
#else
|
#else
|
||||||
# define G_unit_steps 10
|
# define G_unit_steps 10
|
||||||
#endif
|
#endif
|
||||||
};
|
} FIX_ALIASING;
|
||||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||||
#define INIT_G() do { } while (0)
|
#define INIT_G() do { } while (0)
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ typedef struct pid_list {
|
|||||||
struct globals {
|
struct globals {
|
||||||
pid_list *pid_list_head;
|
pid_list *pid_list_head;
|
||||||
inode_list *inode_list_head;
|
inode_list *inode_list_head;
|
||||||
};
|
} FIX_ALIASING;
|
||||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||||
#define INIT_G() do { } while (0)
|
#define INIT_G() do { } while (0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user