summaryrefslogtreecommitdiff
path: root/libc/stdio/fseeko.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-21 18:32:07 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-21 18:32:07 +0000
commit25fbf2080e743bc6ddd3674789d8836b185cb924 (patch)
tree5ac0343276c82ae209a3373d236be052e6d98bb4 /libc/stdio/fseeko.c
parentb27c9f65148e96c01cafe37490d054bdeded5f2a (diff)
Hide some
Diffstat (limited to 'libc/stdio/fseeko.c')
-rw-r--r--libc/stdio/fseeko.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c
index 3fa15050d..c795356e7 100644
--- a/libc/stdio/fseeko.c
+++ b/libc/stdio/fseeko.c
@@ -12,11 +12,11 @@
#endif
#ifndef __DO_LARGEFILE
-# define FSEEK fseek
+# define FSEEK __fseek
# define OFFSET_TYPE long int
#endif
-int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
+int attribute_hidden FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
{
#if defined(__UCLIBC_HAS_LFS__) && !defined(__DO_LARGEFILE)
@@ -74,7 +74,8 @@ int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
}
#ifdef __DO_LARGEFILE
-weak_alias(__fseeko64,fseeko64);
+weak_alias(__fseeko64,fseeko64)
#else
-weak_alias(fseek,fseeko);
+weak_alias(__fseek,fseek)
+weak_alias(fseek,fseeko)
#endif