summaryrefslogtreecommitdiff
path: root/stdio-common/flockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/flockfile.c')
-rw-r--r--stdio-common/flockfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stdio-common/flockfile.c b/stdio-common/flockfile.c
index a5decb450f..49f72c69ab 100644
--- a/stdio-common/flockfile.c
+++ b/stdio-common/flockfile.c
@@ -22,7 +22,6 @@
void
__flockfile (FILE *stream)
{
- stream->_flags2 |= _IO_FLAGS2_NEED_LOCK;
_IO_lock_lock (*stream->_lock);
}
weak_alias (__flockfile, flockfile);