summaryrefslogtreecommitdiff
path: root/libc/stdio/ftello.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/ftello.c
parentb27c9f65148e96c01cafe37490d054bdeded5f2a (diff)
Hide some
Diffstat (limited to 'libc/stdio/ftello.c')
-rw-r--r--libc/stdio/ftello.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c
index 4a934db2b..7f5c53126 100644
--- a/libc/stdio/ftello.c
+++ b/libc/stdio/ftello.c
@@ -8,11 +8,11 @@
#include "_stdio.h"
#ifndef __DO_LARGEFILE
-# define FTELL ftell
+# define FTELL __ftell
# define OFFSET_TYPE long int
#endif
-OFFSET_TYPE FTELL(register FILE *stream)
+OFFSET_TYPE attribute_hidden FTELL(register FILE *stream)
{
#if defined(__UCLIBC_HAS_LFS__) && !defined(__DO_LARGEFILE)
@@ -47,7 +47,8 @@ OFFSET_TYPE FTELL(register FILE *stream)
}
#ifdef __DO_LARGEFILE
-weak_alias(__ftello64,ftello64);
+weak_alias(__ftello64,ftello64)
#else
-weak_alias(ftell,ftello);
+weak_alias(__ftell,ftell)
+weak_alias(ftell,ftello)
#endif