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