diff options
Diffstat (limited to 'lib/libc/errno/errno.c')
| -rw-r--r-- | lib/libc/errno/errno.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/errno/errno.c b/lib/libc/errno/errno.c index 09b22f4d..fc7c99bb 100644 --- a/lib/libc/errno/errno.c +++ b/lib/libc/errno/errno.c @@ -1,7 +1 @@ -#include <__thread.h> -#include <threads.h> - -int *__errno(void) -{ - return &thrd_current()->terrno; -} +_Thread_local int errno; |
