summaryrefslogtreecommitdiffstats
path: root/libc/stdio/ftello.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
commitdd4c03d796f73e008d93ade62655deb70aaaf34a (patch)
tree381f07ac566718afc00cde9a5470ad8bf16625e4 /libc/stdio/ftello.c
parent0f82408c13d9e8be9dd022b0c21411fe86693f67 (diff)
downloaduClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.bz2
uClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.xz
Big sync with trunk.
Diffstat (limited to 'libc/stdio/ftello.c')
-rw-r--r--libc/stdio/ftello.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c
index 7092f34cf..38517acbd 100644
--- a/libc/stdio/ftello.c
+++ b/libc/stdio/ftello.c
@@ -15,15 +15,11 @@
# define FTELL __ftello64
# define OFFSET_TYPE __off64_t
-weak_alias(__ftello64,ftello64);
-
#else
# define FTELL ftell
# define OFFSET_TYPE long int
-weak_alias(ftell,ftello);
-
#endif
OFFSET_TYPE FTELL(register FILE *stream)
@@ -59,3 +55,9 @@ OFFSET_TYPE FTELL(register FILE *stream)
#endif
}
+
+#ifdef __DO_LARGEFILE
+weak_alias(__ftello64,ftello64);
+#else
+weak_alias(ftell,ftello);
+#endif