summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-10-17 16:06:12 -0400
committerRich Felker <dalias@aerifal.cx>2019-10-17 16:06:12 -0400
commit4d3a162d001a93edd285fb6603a883c30ae553ba (patch)
treedb1f5cf9961585ad02eac8981e630b86f0a389b9 /arch/mips
parent71d23fbeacdd1f0c5e33cffb0979250d576fcf9c (diff)
downloadmusl-4d3a162d001a93edd285fb6603a883c30ae553ba.tar.gz
remove use of endian.h from arch reloc.h headers, clean up
building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea, __BYTE_ORDER is now available wherever alltypes.h is included. since reloc.h is only used from src/internal/dynlink.h, it can be assumed that __BYTE_ORDER is exposed. reloc.h is not permitted to be included in other contexts, and generally, like most arch headers, lacks inclusion guards that would allow such usage. the mips64 version mistakenly included such guards; they are removed for consistency.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/reloc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/reloc.h b/arch/mips/reloc.h
index b3d59a45..88d23639 100644
--- a/arch/mips/reloc.h
+++ b/arch/mips/reloc.h
@@ -1,5 +1,3 @@
-#include <endian.h>
-
#if __mips_isa_rev >= 6
#define ISA_SUFFIX "r6"
#else