summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/statfix.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/statfix.h')
-rw-r--r--libc/sysdeps/linux/common/statfix.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/libc/sysdeps/linux/common/statfix.h b/libc/sysdeps/linux/common/statfix.h
deleted file mode 100644
index af4e67dad..000000000
--- a/libc/sysdeps/linux/common/statfix.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef STATFIX_H
-#define STATFIX_H
-
-#include <features.h>
-#undef __OPTIMIZE__
-#include <sys/types.h>
-
-/* Pull in whatever this particular arch's kernel thinks the kernel version of
- * * struct stat should look like. It turns out that each arch has a different
- * * opinion on the subject, and different kernel revs use different names... */
-#define stat kernel_stat
-#define new_stat kernel_stat
-#include <asm/stat.h>
-#undef new_stat
-#undef stat
-
-/* Now pull in libc's version of stat */
-#define stat libc_stat
-#define stat64 libc_stat64
-#define _SYS_STAT_H
-#include <bits/stat.h>
-#undef stat64
-#undef stat
-
-extern void __statfix(struct libc_stat *libcstat, struct kernel_stat *kstat);
-extern int __fxstat(int version, int fd, struct libc_stat * statbuf);
-
-#endif