aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/feof.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/feof.c')
-rw-r--r--newlib/libc/stdio/feof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/feof.c b/newlib/libc/stdio/feof.c
index c0216ff..e8db65b 100644
--- a/newlib/libc/stdio/feof.c
+++ b/newlib/libc/stdio/feof.c
@@ -58,8 +58,8 @@ _DEFUN(feof, (fp),
{
int result;
CHECK_INIT(_REENT, fp);
- _newlib_flockfile_start (fp);
+ _flockfile (fp);
result = __sfeof (fp);
- _newlib_flockfile_end (fp);
+ _funlockfile (fp);
return result;
}