Remove redundant macro and function called `__getreent'

Just rely on the inline version in include/cygwin/config.h

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-07-27 14:00:30 +02:00
parent 886f89ac39
commit 10a30e7a25
2 changed files with 0 additions and 9 deletions

View File

@ -436,6 +436,4 @@ public:
_cygtls::call_signal_handler. */ _cygtls::call_signal_handler. */
~wait_signal_arrived () { _my_tls.unwait_signal_arrived (); } ~wait_signal_arrived () { _my_tls.unwait_signal_arrived (); }
}; };
#define __getreent() (&_my_tls.local_clib)
/*gentls_offsets*/ /*gentls_offsets*/

View File

@ -80,13 +80,6 @@ pthread_mutex::no_owner()
return res; return res;
} }
#undef __getreent
extern "C" struct _reent *
__getreent ()
{
return &_my_tls.local_clib;
}
extern "C" void extern "C" void
__cygwin_lock_init (_LOCK_T *lock) __cygwin_lock_init (_LOCK_T *lock)
{ {