summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/fputwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fputwc.c')
-rw-r--r--newlib/libc/stdio/fputwc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fputwc.c b/newlib/libc/stdio/fputwc.c
index f32d56675..74e7a452c 100644
--- a/newlib/libc/stdio/fputwc.c
+++ b/newlib/libc/stdio/fputwc.c
@@ -160,10 +160,10 @@ _DEFUN(_fputwc_r, (ptr, wc, fp),
{
wint_t r;
- _flockfile (fp);
+ _newlib_flockfile_start (fp);
ORIENT(fp, 1);
r = __fputwc(ptr, wc, fp);
- _funlockfile (fp);
+ _newlib_flockfile_end (fp);
return r;
}