[git commit] handle the type mismatch of ftell[o] and fseek[o] if long int != off_t

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:37 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=2431e3c401e7725504a34fb98c058c219445102a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/stdio/fseeko.c |    2 +-
 libc/stdio/ftello.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c
index 3caf1ac..16b0c04 100644
--- a/libc/stdio/fseeko.c
+++ b/libc/stdio/fseeko.c
@@ -77,5 +77,5 @@ int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
 libc_hidden_def(fseeko64)
 #else
 libc_hidden_def(fseek)
-strong_alias(fseek,fseeko)
+strong_alias_untyped(fseek,fseeko)
 #endif
diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c
index e8ff365..219b699 100644
--- a/libc/stdio/ftello.c
+++ b/libc/stdio/ftello.c
@@ -53,5 +53,5 @@ OFFSET_TYPE FTELL(register FILE *stream)
 libc_hidden_def(ftello64)
 #else
 libc_hidden_def(ftell)
-strong_alias(ftell,ftello)
+strong_alias_untyped(ftell,ftello)
 #endif


More information about the uClibc-cvs mailing list