summaryrefslogtreecommitdiff
path: root/libc/misc/internals/errno.c
diff options
context:
space:
mode:
authormirabilos <m@mirbsd.org>2017-01-29 14:22:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-01 17:49:03 +0100
commitdc79afc0facb5de24d63fbaba6a345222a86d0d5 (patch)
treec66dc513afe1d37703167cd291243fb70968fafa /libc/misc/internals/errno.c
parentdba942c80dc2cfa5768a856fff98e22a755fdd27 (diff)
g/c __libc_errno
Signed-off-by: mirabilos <m@mirbsd.org> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'libc/misc/internals/errno.c')
-rw-r--r--libc/misc/internals/errno.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c
index d9908853d..442f43f61 100644
--- a/libc/misc/internals/errno.c
+++ b/libc/misc/internals/errno.c
@@ -3,8 +3,7 @@
#undef errno
#ifdef __UCLIBC_HAS_TLS__
-__thread int errno;
-extern __thread int __libc_errno __attribute__ ((alias ("errno"))) attribute_hidden;
+__thread int errno attribute_tls_model_ie;
#else
extern int errno;
int errno = 0;