diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/__errno_location.c | 2 | ||||
-rw-r--r-- | libc/misc/internals/__h_errno_location.c | 2 |
2 files changed, 2 insertions, 2 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; } 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; } |