about summary refs log tree commit diff
path: root/arch/m68k
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-29 18:09:55 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-29 18:09:55 -0400
commit28637bc4078be82d242c6ce1c098ba423c957f2c (patch)
tree06db510c84f96cc79b3c0173bb77d9049c28eab8 /arch/m68k
parent6f2e5607d2d463dfc342489660e089553b749dcf (diff)
downloadmusl-28637bc4078be82d242c6ce1c098ba423c957f2c.tar.gz
musl-28637bc4078be82d242c6ce1c098ba423c957f2c.tar.xz
musl-28637bc4078be82d242c6ce1c098ba423c957f2c.zip
collapse out byte order conditions in bits/sem.h for fixed-endian archs
having preprocessor conditionals on byte order in the bits headers for
fixed-endian archs is confusing at best. remove them.
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/bits/sem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/m68k/bits/sem.h b/arch/m68k/bits/sem.h
index d383d4ea..08faafea 100644
--- a/arch/m68k/bits/sem.h
+++ b/arch/m68k/bits/sem.h
@@ -4,13 +4,8 @@ struct semid_ds {
 	long __unused1;
 	time_t sem_ctime;
 	long __unused2;
-#if __BYTE_ORDER == __LITTLE_ENDIAN
-	unsigned short sem_nsems;
-	char __sem_nsems_pad[sizeof(long)-sizeof(short)];
-#else
 	char __sem_nsems_pad[sizeof(long)-sizeof(short)];
 	unsigned short sem_nsems;
-#endif
 	long __unused3;
 	long __unused4;
 };