summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-05-25 17:05:09 +0000
committerEric Blake <eblake@redhat.com>2007-05-25 17:05:09 +0000
commitf5c58e9a34ab7bc7401a511060718a65f2f56efb (patch)
tree2fcf9937c2e1e34ef42c73a2d01f34c55aaa8bf2 /newlib/libc
parentd9a1ecc006142ae1eb8d96e914037113b619f524 (diff)
downloadcygnal-f5c58e9a34ab7bc7401a511060718a65f2f56efb.tar.gz
cygnal-f5c58e9a34ab7bc7401a511060718a65f2f56efb.tar.bz2
cygnal-f5c58e9a34ab7bc7401a511060718a65f2f56efb.zip
* libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/stdio/rewind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/rewind.c b/newlib/libc/stdio/rewind.c
index 58f4cc3e8..fb03e5be7 100644
--- a/newlib/libc/stdio/rewind.c
+++ b/newlib/libc/stdio/rewind.c
@@ -75,7 +75,7 @@ _VOID
_DEFUN(rewind, (fp),
register FILE * fp)
{
- _CAST_VOID _fseek_r (_REENT, fp, 0L, SEEK_SET);
+ _rewind_r (_REENT, fp);
}
#endif /* !_REENT_ONLY */