summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-29 18:17:43 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-29 18:17:43 -0400
commitde5e56ce1626882dddfd5a7a900c0723af02d6ab (patch)
tree0314c4d030ebbe95b6adef3ae004191542b65d84
parent5bb4d717540ccb0a665fcd3c861b95ec3b5cac38 (diff)
downloadmusl-de5e56ce1626882dddfd5a7a900c0723af02d6ab.tar.gz
musl-de5e56ce1626882dddfd5a7a900c0723af02d6ab.tar.bz2
musl-de5e56ce1626882dddfd5a7a900c0723af02d6ab.tar.xz
musl-de5e56ce1626882dddfd5a7a900c0723af02d6ab.zip
remove duplicates of new generic bits/sem.h
some of these were not exact duplicates, but had gratuitously different naming for padding, or omitted the endian checks because the arch is fixed-endian.
-rw-r--r--arch/aarch64/bits/sem.h14
-rw-r--r--arch/mips64/bits/sem.h14
-rw-r--r--arch/powerpc64/bits/sem.h13
-rw-r--r--arch/riscv64/bits/sem.h9
-rw-r--r--arch/s390x/bits/sem.h7
5 files changed, 0 insertions, 57 deletions
diff --git a/arch/aarch64/bits/sem.h b/arch/aarch64/bits/sem.h
deleted file mode 100644
index 5184eb59..00000000
--- a/arch/aarch64/bits/sem.h
+++ /dev/null
@@ -1,14 +0,0 @@
-struct semid_ds {
- struct ipc_perm sem_perm;
- time_t sem_otime;
- time_t sem_ctime;
-#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;
-};
diff --git a/arch/mips64/bits/sem.h b/arch/mips64/bits/sem.h
deleted file mode 100644
index 5184eb59..00000000
--- a/arch/mips64/bits/sem.h
+++ /dev/null
@@ -1,14 +0,0 @@
-struct semid_ds {
- struct ipc_perm sem_perm;
- time_t sem_otime;
- time_t sem_ctime;
-#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;
-};
diff --git a/arch/powerpc64/bits/sem.h b/arch/powerpc64/bits/sem.h
deleted file mode 100644
index 558184db..00000000
--- a/arch/powerpc64/bits/sem.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <endian.h>
-
-struct semid_ds {
- struct ipc_perm sem_perm;
- time_t sem_otime;
- time_t sem_ctime;
-#if __BYTE_ORDER == __BIG_ENDIAN
- unsigned short __pad[3], sem_nsems;
-#else
- unsigned short sem_nsems, __pad[3];
-#endif
- unsigned long __unused[2];
-};
diff --git a/arch/riscv64/bits/sem.h b/arch/riscv64/bits/sem.h
deleted file mode 100644
index 7b434413..00000000
--- a/arch/riscv64/bits/sem.h
+++ /dev/null
@@ -1,9 +0,0 @@
-struct semid_ds {
- struct ipc_perm sem_perm;
- time_t sem_otime;
- time_t sem_ctime;
- unsigned short sem_nsems;
- char __sem_nsems_pad[sizeof(long)-sizeof(short)];
- long __unused3;
- long __unused4;
-};
diff --git a/arch/s390x/bits/sem.h b/arch/s390x/bits/sem.h
deleted file mode 100644
index 644f68a0..00000000
--- a/arch/s390x/bits/sem.h
+++ /dev/null
@@ -1,7 +0,0 @@
-struct semid_ds {
- struct ipc_perm sem_perm;
- time_t sem_otime;
- time_t sem_ctime;
- unsigned short __pad[3], sem_nsems;
- unsigned long __unused[2];
-};