aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/clearerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/clearerr.c')
-rw-r--r--newlib/libc/stdio/clearerr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/clearerr.c b/newlib/libc/stdio/clearerr.c
index ed4603b..d3b620b 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);
- _newlib_flockfile_start (fp);
+ _flockfile (fp);
__sclearerr (fp);
- _newlib_flockfile_end (fp);
+ _funlockfile (fp);
}