aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fileno.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fileno.c')
-rw-r--r--newlib/libc/stdio/fileno.c4
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;
}