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

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