summaryrefslogtreecommitdiff
path: root/libc/stdio/__fsetlocking.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
commitf3b4c74b53903b32d1b852b381ae22b140b7b05b (patch)
treeb6adc3094d207688bce66a702523dc3597ff244e /libc/stdio/__fsetlocking.c
parent83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (diff)
100 JUMP relocs less (remaining 431) by hiding internally used ones
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)