remove utterly wrong includes from mips64/n32 bits/stat.h
authorRich Felker <dalias@aerifal.cx>
Thu, 18 Jul 2019 21:08:18 +0000 (17:08 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 18 Jul 2019 23:30:14 +0000 (19:30 -0400)
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.

arch/mips64/bits/stat.h
arch/mipsn32/bits/stat.h

index b46617f144558c3567f3fce75aa0f5da55f5e9b0..b620e142da0a3d29a504018a1ecc9a223f41b36d 100644 (file)
@@ -1,6 +1,3 @@
-#include <string.h>
-#include <bits/alltypes.h>
-
 struct stat {
        dev_t st_dev;
        int __pad1[3];
index f4d1df83e60cda5913df8cc59cc8f45338f0a8c7..27d36b5125ef6791cfcaa0873f0fd55c64e34600 100644 (file)
@@ -1,6 +1,3 @@
-#include <string.h>
-#include <bits/alltypes.h>
-
 struct stat {
        dev_t st_dev;
        long __pad1[2];