Blame SOURCES/glibc-rh1505492-prototypes-no_cancellation.patch

c6d234
Adjust various functions to prototype style which are defined under
c6d234
NO_CANCELLATION conditionals.
c6d234
c6d234
Upstream, the function definitions were removed in:
c6d234
c6d234
commit c6bb095eb544aa32d3f4b8e9aa434d686915446e
c6d234
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
c6d234
Date:   Sun Sep 28 08:46:23 2014 -0300
c6d234
c6d234
    nptl: Rewrite cancellation macros
c6d234
c6d234
diff --git a/sysdeps/unix/sysv/linux/sigsuspend.c b/sysdeps/unix/sysv/linux/sigsuspend.c
c6d234
index 1cd1de88d303fd66..e5ae86382bc74c7d 100644
c6d234
--- a/sysdeps/unix/sysv/linux/sigsuspend.c
c6d234
+++ b/sysdeps/unix/sysv/linux/sigsuspend.c
c6d234
@@ -53,8 +53,7 @@ strong_alias (__sigsuspend, __libc_sigsuspend)
c6d234
 
c6d234
 #ifndef NO_CANCELLATION
c6d234
 int
c6d234
-__sigsuspend_nocancel (set)
c6d234
-     const sigset_t *set;
c6d234
+__sigsuspend_nocancel (const sigset_t *set)
c6d234
 {
c6d234
   return do_sigsuspend (set);
c6d234
 }