diff options
Diffstat (limited to 'newlib/libc/stdio/ungetwc.c')
-rw-r--r-- | newlib/libc/stdio/ungetwc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/ungetwc.c b/newlib/libc/stdio/ungetwc.c index 234d2f7..ee0d7fc 100644 --- a/newlib/libc/stdio/ungetwc.c +++ b/newlib/libc/stdio/ungetwc.c @@ -82,7 +82,7 @@ _DEFUN(_ungetwc_r, (ptr, wc, fp), char buf[MB_LEN_MAX]; size_t len; - _flockfile (fp); + _newlib_flockfile_start (fp); ORIENT (fp, 1); if (wc == WEOF) wc = WEOF; @@ -98,7 +98,7 @@ _DEFUN(_ungetwc_r, (ptr, wc, fp), wc = WEOF; break; } - _funlockfile (fp); + _newlib_flockfile_end (fp); return wc; } |