summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/flockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/flockfile.c')
-rw-r--r--sysdeps/pthread/flockfile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/pthread/flockfile.c b/sysdeps/pthread/flockfile.c
index c5c1ed8754..4972da4453 100644
--- a/sysdeps/pthread/flockfile.c
+++ b/sysdeps/pthread/flockfile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -19,12 +19,11 @@
#include <pthread.h>
#include <stdio.h>
#include <libio.h>
-#include <bits/stdio-lock.h>
+#include <stdio-lock.h>
void
-__flockfile (stream)
- FILE *stream;
+__flockfile (FILE *stream)
{
_IO_lock_lock (*stream->_lock);
}