move struct semid_ds to from shared sys/sem.h to bits
authorRich Felker <dalias@aerifal.cx>
Tue, 11 Mar 2014 19:27:13 +0000 (15:27 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 11 Mar 2014 19:27:13 +0000 (15:27 -0400)
commitf6e2f7e13f0edb1bb1d94e6ad4bf44abffd048d1
tree03255e64909707df47a7221b01a81eedd84544d0
parent6739b13a172aad9c01572c04cadacc99c7041811
move struct semid_ds to from shared sys/sem.h to bits

the definition was found to be incorrect at least for powerpc, and
fixing this cleanly requires making the definition arch-specific. this
will allow cleaning up the definition for other archs to make it more
specific, and reversing some of the ugliness (time_t hacks) introduced
with the x32 port.

this first commit simply copies the existing definition to each arch
without any changes. this is intentional, to make it easier to review
changes made on a per-arch basis.
arch/arm/bits/sem.h [new file with mode: 0644]
arch/i386/bits/sem.h [new file with mode: 0644]
arch/microblaze/bits/sem.h [new file with mode: 0644]
arch/mips/bits/sem.h [new file with mode: 0644]
arch/powerpc/bits/sem.h [new file with mode: 0644]
arch/sh/bits/sem.h [new file with mode: 0644]
arch/x32/bits/sem.h [new file with mode: 0644]
arch/x86_64/bits/sem.h [new file with mode: 0644]
include/sys/sem.h