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.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/nonstd/__libc.c b/src/nonstd/__libc.c
index 752dcab0..9000dd46 100644
--- a/src/nonstd/__libc.c
+++ b/src/nonstd/__libc.c
@@ -1,10 +1,8 @@
#include "sys/types.h"
-#include <nonstd/internal.h>
-#include "nonstd/locale.h"
+#include "../_nonstd.h"
+#include "../locale/_locale.h"
#include "../stdio/_stdio.h"
-#include "_locale.h"
-
void *__libc(LIBC_INTERNAL variable)
{
extern void *__libc_per_thread(LIBC_INTERNAL __variable);
@@ -59,10 +57,6 @@ void *__libc(LIBC_INTERNAL variable)
r = &(((struct __locale_t*)r)->mn);
break;
- case LOAD_LOCALE:
- r = (void*)(__load_locale);
- break;
-
default:
break;
}