summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__errno_location.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals/__errno_location.c')
-rw-r--r--libc/misc/internals/__errno_location.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c
index 9bbc2d779..6c359f933 100644
--- a/libc/misc/internals/__errno_location.c
+++ b/libc/misc/internals/__errno_location.c
@@ -12,7 +12,7 @@
extern int errno;
#endif
-int *__errno_location(void)
+int weak_const_function *__errno_location(void)
{
return &errno;
}