OSDN Git Service

handle the type mismatch of ftell[o] and fseek[o] if long int != off_t
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 15 Apr 2011 18:16:10 +0000 (20:16 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:37 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/stdio/fseeko.c
libc/stdio/ftello.c

index 3caf1ac..16b0c04 100644 (file)
@@ -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
index e8ff365..219b699 100644 (file)
@@ -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