diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-29 18:12:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-29 18:12:05 -0400 |
commit | 5bb4d717540ccb0a665fcd3c861b95ec3b5cac38 (patch) | |
tree | da122a08e0b1385f258bb8ec3627900b667e37ab /arch/generic/bits/sem.h | |
parent | 28637bc4078be82d242c6ce1c098ba423c957f2c (diff) | |
download | musl-5bb4d717540ccb0a665fcd3c861b95ec3b5cac38.tar.gz musl-5bb4d717540ccb0a665fcd3c861b95ec3b5cac38.tar.xz musl-5bb4d717540ccb0a665fcd3c861b95ec3b5cac38.zip |
use 64-bit semid_ds layout in the generic version of bits/sem.h
this layout is slightly less common than the old generic one, but only because x86_64 and x32 wrongly (according to comments in the kernel headers) copied the i386 padding. for future archs, and with 64-bit time_t on 32-bit archs, the new layout here will become the most common, and it makes sense to treat it as the generic.
Diffstat (limited to 'arch/generic/bits/sem.h')
-rw-r--r-- | arch/generic/bits/sem.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/generic/bits/sem.h b/arch/generic/bits/sem.h index d383d4ea..5184eb59 100644 --- a/arch/generic/bits/sem.h +++ b/arch/generic/bits/sem.h @@ -1,9 +1,7 @@ struct semid_ds { struct ipc_perm sem_perm; time_t sem_otime; - 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)]; |