summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-03-12 11:46:17 +0100
committerSzabolcs Nagy <nsz@port70.net>2014-03-12 11:46:17 +0100
commit3ceb89ed3fb5a43fc267ce818f90f38f55bf4e71 (patch)
treea109c9ad66e2c1f06e7c0ac9636fa7210551d126 /arch
parent514c2dd24f07a81c6038d74c72f8996ad62b108f (diff)
downloadmusl-3ceb89ed3fb5a43fc267ce818f90f38f55bf4e71.tar.gz
musl-3ceb89ed3fb5a43fc267ce818f90f38f55bf4e71.tar.bz2
musl-3ceb89ed3fb5a43fc267ce818f90f38f55bf4e71.tar.xz
musl-3ceb89ed3fb5a43fc267ce818f90f38f55bf4e71.zip
fix semid_ds structure on mips
This used to be broken when all archs had the same semid_ds definition: there is no padding around the time_t members on mips.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/bits/sem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/bits/sem.h b/arch/mips/bits/sem.h
index c629b81e..e46ced95 100644
--- a/arch/mips/bits/sem.h
+++ b/arch/mips/bits/sem.h
@@ -1,9 +1,7 @@
struct semid_ds {
struct ipc_perm sem_perm;
time_t sem_otime;
- time_t __unused1;
time_t sem_ctime;
- time_t __unused2;
#if __BYTE_ORDER == __LITTLE_ENDIAN
unsigned short sem_nsems;
char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];