diff options
Diffstat (limited to 'newlib/libc/stdio/fileno.c')
-rw-r--r-- | newlib/libc/stdio/fileno.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fileno.c b/newlib/libc/stdio/fileno.c index db399eb..818f1a1 100644 --- a/newlib/libc/stdio/fileno.c +++ b/newlib/libc/stdio/fileno.c @@ -55,8 +55,8 @@ _DEFUN(fileno, (f), { int result; CHECK_INIT (_REENT, f); - _flockfile (f); + _newlib_flockfile_start (f); result = __sfileno (f); - _funlockfile (f); + _newlib_flockfile_end (f); return result; } |