From 73a04c4916f11e1f30aaca770ec1a2dbb78f7686 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 20 Sep 2016 22:48:54 +0200 Subject: 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. --- sysdeps/pthread/flockfile.c | 3 +-- sysdeps/pthread/ftrylockfile.c | 3 +-- sysdeps/pthread/funlockfile.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sysdeps/pthread/flockfile.c b/sysdeps/pthread/flockfile.c index 89e690d..749a11c 100644 --- a/sysdeps/pthread/flockfile.c +++ b/sysdeps/pthread/flockfile.c @@ -22,8 +22,7 @@ void -__flockfile (stream) - FILE *stream; +__flockfile (FILE *stream) { #ifdef SHARED __libc_ptf_call (_IO_flockfile, (stream), 0); 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); diff --git a/sysdeps/pthread/funlockfile.c b/sysdeps/pthread/funlockfile.c index 65201ed..8dda960 100644 --- a/sysdeps/pthread/funlockfile.c +++ b/sysdeps/pthread/funlockfile.c @@ -23,8 +23,7 @@ void -__funlockfile (stream) - FILE *stream; +__funlockfile (FILE *stream) { #ifdef SHARED __libc_ptf_call (_IO_funlockfile, (stream), 0); -- cgit v1.2.3