summaryrefslogtreecommitdiffstats
path: root/libc/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/errno.h')
-rw-r--r--libc/include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h
index 2e5ce5f..1a36b7a 100644
--- a/libc/include/errno.h
+++ b/libc/include/errno.h
@@ -41,7 +41,7 @@ __BEGIN_DECLS
#endif
/* internal function returning the address of the thread-specific errno */
-extern volatile int* __errno(void);
+extern volatile int* __errno(void) __pure2;
/* a macro expanding to the errno l-value */
#define errno (*__errno())