summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/getdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/getdelim.c')
-rw-r--r--newlib/libc/stdio/getdelim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/getdelim.c b/newlib/libc/stdio/getdelim.c
index 63a579a79..23fc50218 100644
--- a/newlib/libc/stdio/getdelim.c
+++ b/newlib/libc/stdio/getdelim.c
@@ -81,7 +81,7 @@ _DEFUN(__getdelim, (bufptr, n, delim, fp),
CHECK_INIT (_REENT, fp);
- _newlib_flockfile_start (fp);
+ _flockfile (fp);
numbytes = *n;
ptr = buf;
@@ -129,7 +129,7 @@ _DEFUN(__getdelim, (bufptr, n, delim, fp),
}
}
- _newlib_flockfile_end (fp);
+ _funlockfile (fp);
/* if no input data, return failure */
if (ptr == buf)