about summary refs log tree commit diff
path: root/include/sys
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 /include/sys
parent97d35a552ec5b6ddf7923dd2f9a8eb973526acea (diff)
downloadmusl-71d23fbeacdd1f0c5e33cffb0979250d576fcf9c.tar.gz
musl-71d23fbeacdd1f0c5e33cffb0979250d576fcf9c.tar.xz
musl-71d23fbeacdd1f0c5e33cffb0979250d576fcf9c.zip
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 'include/sys')
-rw-r--r--include/sys/acct.h1
-rw-r--r--include/sys/sem.h2
-rw-r--r--include/sys/statvfs.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/include/sys/acct.h b/include/sys/acct.h
index 9b0ba36f..fae9d050 100644
--- a/include/sys/acct.h
+++ b/include/sys/acct.h
@@ -6,7 +6,6 @@ extern "C" {
 #endif
 
 #include <features.h>
-#include <endian.h>
 #include <time.h>
 #include <stdint.h>
 
diff --git a/include/sys/sem.h b/include/sys/sem.h
index 410c8774..e6161e51 100644
--- a/include/sys/sem.h
+++ b/include/sys/sem.h
@@ -25,8 +25,6 @@ extern "C" {
 #define SETVAL		16
 #define SETALL		17
 
-#include <endian.h>
-
 #include <bits/sem.h>
 
 #define _SEM_SEMUN_UNDEFINED 1
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
index ef07d684..793490b6 100644
--- a/include/sys/statvfs.h
+++ b/include/sys/statvfs.h
@@ -11,8 +11,6 @@ extern "C" {
 #define __NEED_fsfilcnt_t
 #include <bits/alltypes.h>
 
-#include <endian.h>
-
 struct statvfs {
 	unsigned long f_bsize, f_frsize;
 	fsblkcnt_t f_blocks, f_bfree, f_bavail;