aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dd.c2
-rw-r--r--coreutils/du.c2
-rw-r--r--coreutils/expr.c2
-rw-r--r--coreutils/ls.c2
-rw-r--r--coreutils/stty.c2
-rw-r--r--coreutils/tail.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 8173d403d..7c1a0c0df 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -38,7 +38,7 @@ struct globals {
unsigned long long total_bytes;
unsigned long long begin_time_us;
#endif
-};
+} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
#define INIT_G() do { \
/* we have to zero it out because of NOEXEC */ \
diff --git a/coreutils/du.c b/coreutils/du.c
index 730d6d162..5894ed438 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -50,7 +50,7 @@ struct globals {
int slink_depth;
int du_depth;
dev_t dir_dev;
-};
+} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
diff --git a/coreutils/expr.c b/coreutils/expr.c
index f5701a460..f40edad4e 100644
--- a/coreutils/expr.c
+++ b/coreutils/expr.c
@@ -63,7 +63,7 @@ typedef struct valinfo VALUE;
/* The arguments given to the program, minus the program name. */
struct globals {
char **args;
-};
+} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
/* forward declarations */
diff --git a/coreutils/ls.c b/coreutils/ls.c
index d004ce8b1..1197f7d71 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -255,7 +255,7 @@ struct globals {
/* Do time() just once. Saves one syscall per file for "ls -l" */
time_t current_time_t;
#endif
-};
+} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
#if ENABLE_FEATURE_LS_COLOR
# define show_color (G.show_color )
diff --git a/coreutils/stty.c b/coreutils/stty.c
index 4952d53d3..c40d718af 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -625,7 +625,7 @@ struct globals {
/* Current position, to know when to wrap */
unsigned current_col;
char buf[10];
-};
+} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
#define INIT_G() do { \
G.device_name = bb_msg_standard_input; \
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 0be166315..83768d420 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -35,7 +35,7 @@ static const struct suffix_mult tail_suffixes[] = {
struct globals {
bool status;
-};
+} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
static void tail_xprint_header(const char *fmt, const char *filename)