summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-18 17:08:18 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-18 19:30:14 -0400
commit62a73d9649d46dcd2f10043b3c963ee626130e1b (patch)
treed8236dbcf9f286451f8ac8973206b39134d64515
parentf0eb2e77b2132a88e2f00d8e06ffa7638c40b4bc (diff)
downloadmusl-62a73d9649d46dcd2f10043b3c963ee626130e1b.tar.gz
remove utterly wrong includes from mips64/n32 bits/stat.h
these were overlooked during review. bits headers are not allowed to pull in additional headers (note: that rule is currently broken in other places but just for endian.h). string.h has no place here anyway, and including bits/alltypes.h without defining macros to request types from it is a nop.
-rw-r--r--arch/mips64/bits/stat.h3
-rw-r--r--arch/mipsn32/bits/stat.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips64/bits/stat.h b/arch/mips64/bits/stat.h
index b46617f1..b620e142 100644
--- a/arch/mips64/bits/stat.h
+++ b/arch/mips64/bits/stat.h
@@ -1,6 +1,3 @@
-#include <string.h>
-#include <bits/alltypes.h>
-
struct stat {
dev_t st_dev;
int __pad1[3];
diff --git a/arch/mipsn32/bits/stat.h b/arch/mipsn32/bits/stat.h
index f4d1df83..27d36b51 100644
--- a/arch/mipsn32/bits/stat.h
+++ b/arch/mipsn32/bits/stat.h
@@ -1,6 +1,3 @@
-#include <string.h>
-#include <bits/alltypes.h>
-
struct stat {
dev_t st_dev;
long __pad1[2];