musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/sem.h
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/sem.h
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 'include/sys/sem.h')
-rw-r--r--include/sys/sem.h 2
1 files changed, 0 insertions, 2 deletions
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
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 14:47:30 +0000

AltStyle によって変換されたページ (->オリジナル) /