Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/linuxthreads/reent.c')
-rw-r--r--newlib/libc/sys/linux/linuxthreads/reent.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/newlib/libc/sys/linux/linuxthreads/reent.c b/newlib/libc/sys/linux/linuxthreads/reent.c
deleted file mode 100644
index 44d6f7858..000000000
--- a/newlib/libc/sys/linux/linuxthreads/reent.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Define the location of _REENT for the newlib C library */
-
-#include <reent.h>
-#include "pthread.h"
-#include "internals.h"
-
-struct _reent * __thread_reent()
-{
- pthread_descr self = thread_self();
- return THREAD_GETMEM (self, p_reentp);
-}
-
-/* Return thread specific resolver state. */
-struct __res_state * __res_state()
-{
- pthread_descr self = thread_self();
- return THREAD_GETMEM (self, p_resp);
-}