diff options
Diffstat (limited to 'include/errno.h')
| -rw-r--r-- | include/errno.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/errno.h b/include/errno.h index 86ef7047..800f9a9b 100644 --- a/include/errno.h +++ b/include/errno.h @@ -1,8 +1,7 @@ #ifndef __ERRNO_H #define __ERRNO_H -#define errno (*__errno()) -extern int *__errno(void) __attribute__((const)); +extern _Thread_local int errno; #define EPERM 1 #define ENOENT 2 |
