summaryrefslogtreecommitdiff
path: root/src/nonstd/__libc_per_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__libc_per_thread.c')
-rw-r--r--src/nonstd/__libc_per_thread.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nonstd/__libc_per_thread.c b/src/nonstd/__libc_per_thread.c
deleted file mode 100644
index d487dcad..00000000
--- a/src/nonstd/__libc_per_thread.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "../_nonstd.h"
-#include "../locale/_locale.h"
-#include "../_perthread.h"
-
-void *__libc_per_thread(LIBC_INTERNAL variable)
-{
- THREAD_LOCAL struct __locale_t locale;
-
- if (variable == THREAD_LOCALE) {
- return &locale;
- }
-
- return (void*)0;
-}