summaryrefslogtreecommitdiff
path: root/src/nonstd/__libc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__libc.c')
-rw-r--r--src/nonstd/__libc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nonstd/__libc.c b/src/nonstd/__libc.c
index 9000dd46..0d8351ab 100644
--- a/src/nonstd/__libc.c
+++ b/src/nonstd/__libc.c
@@ -1,7 +1,5 @@
-#include "sys/types.h"
#include "../_nonstd.h"
#include "../locale/_locale.h"
-#include "../stdio/_stdio.h"
void *__libc(LIBC_INTERNAL variable)
{
@@ -11,9 +9,6 @@ void *__libc(LIBC_INTERNAL variable)
void *r = (void*)0;
switch (variable) {
- case ERRNO:
- return __libc_per_thread(ERRNO);
-
case THREAD_LOCALE:
r = __libc_per_thread(THREAD_LOCALE);
if (r) {