Blame SOURCES/glibc-rh1505492-prototypes-s390-pthread_once.patch

25845f
Introduce protype-style function definition for S390 pthread_once.  The
25845f
old-style function definition was removed upstream in:
25845f
25845f
commit bc89c0fc70ba952f78fc27fc261ec209be0a6732
25845f
Author: Torvald Riegel <triegel@redhat.com>
25845f
Date:   Mon Dec 8 18:32:14 2014 +0100
25845f
25845f
    Remove custom pthread_once implementation on s390.
25845f
25845f
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c b/nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c
25845f
index cd53d77c163661c5..4bce7fec13ea3bb2 100644
25845f
--- a/nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c
25845f
+++ b/nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c
25845f
@@ -34,9 +34,7 @@ clear_once_control (void *arg)
25845f
 
25845f
 
25845f
 int
25845f
-__pthread_once (once_control, init_routine)
25845f
-     pthread_once_t *once_control;
25845f
-     void (*init_routine) (void);
25845f
+__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
25845f
 {
25845f
   while (1)
25845f
     {