summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-10-17 16:03:42 -0400
committerRich Felker <dalias@aerifal.cx>2019-10-17 16:03:42 -0400
commit71d23fbeacdd1f0c5e33cffb0979250d576fcf9c (patch)
treed905ec8b0ac5491043f5e46d012c5258004e2fed /arch
parent97d35a552ec5b6ddf7923dd2f9a8eb973526acea (diff)
downloadmusl-71d23fbeacdd1f0c5e33cffb0979250d576fcf9c.tar.gz
remove indirect use of endian.h from public headers
building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea, __BYTE_ORDER is now available wherever alltypes.h is included. endian.h should not be used since, in the future, it will expose identifiers that are not in the reserved namespace for the headers which were previously using it.
Diffstat (limited to 'arch')
-rw-r--r--arch/aarch64/bits/socket.h2
-rw-r--r--arch/mips64/bits/socket.h2
-rw-r--r--arch/powerpc64/bits/socket.h2
-rw-r--r--arch/riscv64/bits/socket.h2
4 files changed, 0 insertions, 8 deletions
diff --git a/arch/aarch64/bits/socket.h b/arch/aarch64/bits/socket.h
index c11677e9..55337c8b 100644
--- a/arch/aarch64/bits/socket.h
+++ b/arch/aarch64/bits/socket.h
@@ -1,5 +1,3 @@
-#include <endian.h>
-
struct msghdr {
void *msg_name;
socklen_t msg_namelen;
diff --git a/arch/mips64/bits/socket.h b/arch/mips64/bits/socket.h
index 5aff0d91..aafb209c 100644
--- a/arch/mips64/bits/socket.h
+++ b/arch/mips64/bits/socket.h
@@ -1,5 +1,3 @@
-#include <endian.h>
-
struct msghdr {
void *msg_name;
socklen_t msg_namelen;
diff --git a/arch/powerpc64/bits/socket.h b/arch/powerpc64/bits/socket.h
index 0f3c9aac..dae47302 100644
--- a/arch/powerpc64/bits/socket.h
+++ b/arch/powerpc64/bits/socket.h
@@ -1,5 +1,3 @@
-#include <endian.h>
-
struct msghdr {
void *msg_name;
socklen_t msg_namelen;
diff --git a/arch/riscv64/bits/socket.h b/arch/riscv64/bits/socket.h
index aae537d3..e2fd64cf 100644
--- a/arch/riscv64/bits/socket.h
+++ b/arch/riscv64/bits/socket.h
@@ -1,5 +1,3 @@
-#include <endian.h>
-
struct msghdr {
void *msg_name;
socklen_t msg_namelen;