From f5c58e9a34ab7bc7401a511060718a65f2f56efb Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 25 May 2007 17:05:09 +0000 Subject: * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22. --- newlib/libc/stdio/rewind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdio/rewind.c') 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 */ -- cgit v1.2.3