diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-13 21:38:57 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-13 21:38:57 +0000 |
commit | f32600208f4e9db972eb47f7d4959994b31199e6 (patch) | |
tree | 2a9b75b74b8cf126b816ee32a36727977b5c3de3 /libc/stdio/fsetpos.c | |
parent | 01015a4321d2af6b665a90a20ea349f02bde6f81 (diff) | |
download | uClibc-alpine-f32600208f4e9db972eb47f7d4959994b31199e6.tar.bz2 uClibc-alpine-f32600208f4e9db972eb47f7d4959994b31199e6.tar.xz |
Convert all users of earlier hiddens
Diffstat (limited to 'libc/stdio/fsetpos.c')
-rw-r--r-- | libc/stdio/fsetpos.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/stdio/fsetpos.c b/libc/stdio/fsetpos.c index 2b02f25e0..f33043f3b 100644 --- a/libc/stdio/fsetpos.c +++ b/libc/stdio/fsetpos.c @@ -7,6 +7,10 @@ #include "_stdio.h" +#ifndef __DO_LARGEFILE +#define FSEEK __fseek +#endif + int fsetpos(FILE *stream, register const fpos_t *pos) { #ifdef __STDIO_MBSTATE @@ -16,7 +20,7 @@ int fsetpos(FILE *stream, register const fpos_t *pos) __STDIO_AUTO_THREADLOCK(stream); - if ((retval = fseek(stream, pos->__pos, SEEK_SET)) == 0) { + if ((retval = FSEEK(stream, pos->__pos, SEEK_SET)) == 0) { __COPY_MBSTATE(&(stream->__state), &(pos->__mbstate)); stream->__ungot_width[0]= pos->__mblen_pending; } @@ -27,7 +31,7 @@ int fsetpos(FILE *stream, register const fpos_t *pos) #else - return fseek(stream, pos->__pos, SEEK_SET); + return FSEEK(stream, pos->__pos, SEEK_SET); #endif } |