diff options
Diffstat (limited to 'libc/include/errno.h')
-rw-r--r-- | libc/include/errno.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h index 2b2685af4..cae0e3b78 100644 --- a/libc/include/errno.h +++ b/libc/include/errno.h @@ -45,6 +45,7 @@ __BEGIN_DECLS extern int __set_errno(int error); /* internal function returning the address of the thread-specific errno */ +__attribute__((const)) extern volatile int* __errno(void); /* a macro expanding to the errno l-value */ |