summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/ftrylockfile.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-20 22:48:54 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-20 22:48:54 +0200
commit73a04c4916f11e1f30aaca770ec1a2dbb78f7686 (patch)
treee8b2b958c31c068a78bf8a201ff4d00ff82a6653 /sysdeps/pthread/ftrylockfile.c
parenta87bf9a8eab3af79798131b60c1f7f92f995df8c (diff)
Fix old-style function definitions
* sysdeps/pthread/flockfile.c (__flockfile): Fix old-style function definition. * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise. * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
Diffstat (limited to 'sysdeps/pthread/ftrylockfile.c')
-rw-r--r--sysdeps/pthread/ftrylockfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/pthread/ftrylockfile.c b/sysdeps/pthread/ftrylockfile.c
index e8f8060..1ae6abc 100644
--- a/sysdeps/pthread/ftrylockfile.c
+++ b/sysdeps/pthread/ftrylockfile.c
@@ -23,8 +23,7 @@
int
-__ftrylockfile (stream)
- FILE *stream;
+__ftrylockfile (FILE *stream)
{
#ifdef SHARED
return __libc_ptf_call (_IO_ftrylockfile, (stream), 0);