summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/ftrylockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/ftrylockfile.c')
-rw-r--r--sysdeps/pthread/ftrylockfile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/pthread/ftrylockfile.c b/sysdeps/pthread/ftrylockfile.c
index 14dc764028..c899fcc6bf 100644
--- a/sysdeps/pthread/ftrylockfile.c
+++ b/sysdeps/pthread/ftrylockfile.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 <errno.h>
#include <pthread.h>
#include <stdio.h>
-#include <bits/stdio-lock.h>
+#include <stdio-lock.h>
int
-__ftrylockfile (stream)
- FILE *stream;
+__ftrylockfile (FILE *stream)
{
return _IO_lock_trylock (*stream->_lock);
}