summaryrefslogtreecommitdiff
path: root/libc/stdio/__fsetlocking.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/__fsetlocking.c')
-rw-r--r--libc/stdio/__fsetlocking.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/__fsetlocking.c b/libc/stdio/__fsetlocking.c
index f49503207..77690e269 100644
--- a/libc/stdio/__fsetlocking.c
+++ b/libc/stdio/__fsetlocking.c
@@ -15,7 +15,7 @@
* glibc treats invalid locking_mode args as FSETLOCKING_INTERNAL.
*/
-int __fsetlocking(FILE *stream, int locking_mode)
+int attribute_hidden __libc_fsetlocking(FILE *stream, int locking_mode)
{
#ifdef __UCLIBC_HAS_THREADS__
int current = 1 + (stream->__user_locking & 1);
@@ -43,3 +43,5 @@ int __fsetlocking(FILE *stream, int locking_mode)
return FSETLOCKING_INTERNAL;
#endif
}
+
+strong_alias(__libc_fsetlocking,__fsetlocking)