diff options
Diffstat (limited to 'newlib/libc/stdio/clearerr.c')
-rw-r--r-- | newlib/libc/stdio/clearerr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/clearerr.c b/newlib/libc/stdio/clearerr.c index d3b620b..ed4603b 100644 --- a/newlib/libc/stdio/clearerr.c +++ b/newlib/libc/stdio/clearerr.c @@ -65,7 +65,7 @@ _DEFUN(clearerr, (fp), FILE * fp) { CHECK_INIT(_REENT, fp); - _flockfile (fp); + _newlib_flockfile_start (fp); __sclearerr (fp); - _funlockfile (fp); + _newlib_flockfile_end (fp); } |