diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-27 15:00:30 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-07-27 15:00:30 +0300 |
commit | 10a30e7a258f112c1ada37b12cee924c8575c8d2 (patch) | |
tree | fe45e9d67979b61fde3bece2db7011e12f6e41ec /winsup/cygwin/thread.cc | |
parent | 886f89ac39b31be908f50ff8482be8e34105f8e7 (diff) |
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>
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 4414785ad..d9271fc4b 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -80,13 +80,6 @@ pthread_mutex::no_owner() return res; } -#undef __getreent -extern "C" struct _reent * -__getreent () -{ - return &_my_tls.local_clib; -} - extern "C" void __cygwin_lock_init (_LOCK_T *lock) { |