diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-09-22 00:43:18 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-09-22 00:43:18 +0000 |
commit | f8d5244380826053b8c75b3c302d39bdd1f9a121 (patch) | |
tree | 3c9d81358dce8e98a9b85ab840f0c657db7b4c17 /libc/stdio/fseeko.c | |
parent | 3ae4f469bfd1fd10fc3e148f75cb9ba4eff9ecdb (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.c | 10 |
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 |