summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/rewind.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/rewind.c')
-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 */