From 28637bc4078be82d242c6ce1c098ba423c957f2c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 29 Jul 2019 18:09:55 -0400 Subject: 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. --- arch/or1k/bits/sem.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/or1k') diff --git a/arch/or1k/bits/sem.h b/arch/or1k/bits/sem.h index d383d4ea..08faafea 100644 --- a/arch/or1k/bits/sem.h +++ b/arch/or1k/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; }; -- cgit v1.2.1