summaryrefslogtreecommitdiff
path: root/klibc_fixups/klibc_fixups.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc_fixups/klibc_fixups.h')
-rw-r--r--klibc_fixups/klibc_fixups.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/klibc_fixups/klibc_fixups.h b/klibc_fixups/klibc_fixups.h
deleted file mode 100644
index 13011b6888..0000000000
--- a/klibc_fixups/klibc_fixups.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifdef __KLIBC__
-
-#ifndef _KLIBC_FIXUPS_H
-#define _KLIBC_FIXUPS_H
-
-#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
-#include <unistd.h>
-
-#define _SC_PAGESIZE 0x66
-static inline long int sysconf(int name)
-{
- if (name == _SC_PAGESIZE)
- return getpagesize();
-
- return -1;
-}
-
-struct exit_status {
- short int e_termination; /* process termination status */
- short int e_exit; /* process exit status */
-};
-
-#endif /* KLIBC_FIXUPS_H */
-#endif /* __KLIBC__ */