Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fwrite.c')
-rw-r--r--newlib/libc/stdio/fwrite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c
index dc218050e..ce77c8dc1 100644
--- a/newlib/libc/stdio/fwrite.c
+++ b/newlib/libc/stdio/fwrite.c
@@ -119,14 +119,14 @@ _DEFUN(_fwrite_r, (ptr, buf, size, count, fp),
CHECK_INIT(ptr, fp);
- _newlib_flockfile_start (fp);
+ _flockfile (fp);
ORIENT (fp, -1);
if (__sfvwrite_r (ptr, fp, &uio) == 0)
{
- _newlib_flockfile_exit (fp);
+ _funlockfile (fp);
return count;
}
- _newlib_flockfile_end (fp);
+ _funlockfile (fp);
return (n - uio.uio_resid) / size;
}