summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-15 20:16:10 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:37 +0200
commit2431e3c401e7725504a34fb98c058c219445102a (patch)
tree9415038d762c70177516081d89f5c42872e8ae22
parent7049cfee24a745b918a6a55fe0e076c1ab75f563 (diff)
handle the type mismatch of ftell[o] and fseek[o] if long int != off_t
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--libc/stdio/fseeko.c2
-rw-r--r--libc/stdio/ftello.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c
index 3caf1ac79..16b0c043a 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 e8ff36533..219b6996a 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