Browse Source

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.
Rich Felker 5 years ago
parent
commit
62a73d9649
2 changed files with 0 additions and 6 deletions
  1. 0 3
      arch/mips64/bits/stat.h
  2. 0 3
      arch/mipsn32/bits/stat.h

+ 0 - 3
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];

+ 0 - 3
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];