From dc79afc0facb5de24d63fbaba6a345222a86d0d5 Mon Sep 17 00:00:00 2001
From: mirabilos <m@mirbsd.org>
Date: Sun, 29 Jan 2017 14:22:02 +0100
Subject: g/c __libc_errno

Signed-off-by: mirabilos <m@mirbsd.org>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
---
 include/errno.h | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'include')

diff --git a/include/errno.h b/include/errno.h
index 4e3a81689..380a0b773 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -70,11 +70,7 @@ extern int _dl_errno; /* attribute_hidden */
 #elif defined __UCLIBC_HAS_TLS__
 # if !defined NOT_IN_libc || defined IS_IN_libpthread
 #  undef errno
-#  ifndef NOT_IN_libc
-#   define errno __libc_errno
-#  else
 #   define errno errno             /* For #ifndef errno tests.  */
-#  endif
 extern __thread int errno attribute_tls_model_ie;
 # endif
 #endif
-- 
cgit v1.2.3