summaryrefslogtreecommitdiff
path: root/libc/stdio/fseeko.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-22 00:43:18 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-22 00:43:18 +0000
commitf8d5244380826053b8c75b3c302d39bdd1f9a121 (patch)
tree3c9d81358dce8e98a9b85ab840f0c657db7b4c17 /libc/stdio/fseeko.c
parent3ae4f469bfd1fd10fc3e148f75cb9ba4eff9ecdb (diff)
weaks moved after the related function so gcc4 won't warn
Diffstat (limited to 'libc/stdio/fseeko.c')
-rw-r--r--libc/stdio/fseeko.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c
index fed425730..48979a06b 100644
--- a/libc/stdio/fseeko.c
+++ b/libc/stdio/fseeko.c
@@ -19,15 +19,11 @@
# define FSEEK __fseeko64
# define OFFSET_TYPE __off64_t
-weak_alias(__fseeko64,fseeko64);
-
#else
# define FSEEK fseek
# define OFFSET_TYPE long int
-weak_alias(fseek,fseeko);
-
#endif
@@ -87,3 +83,9 @@ int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
#endif
}
+
+#ifdef __DO_LARGEFILE
+weak_alias(__fseeko64,fseeko64);
+#else
+weak_alias(fseek,fseeko);
+#endif