25845f
Change function declarations and definitions related to sigvec.
25845f
Addressed upstream with the removal of sigvec in this commit:
25845f
25845f
commit 0781a7772ae1385fe8d7a734fdb35df81b1e6590
25845f
Author: Roland McGrath <roland@hack.frob.com>
25845f
Date:   Fri Nov 14 10:52:16 2014 -0800
25845f
25845f
    Remove sigvec.
25845f
25845f
diff --git a/include/signal.h b/include/signal.h
25845f
index a019395882176073..d9f279c9bf0aca3d 100644
25845f
--- a/include/signal.h
25845f
+++ b/include/signal.h
25845f
@@ -40,6 +40,7 @@ extern int __sigtimedwait (const sigset_t *__set, siginfo_t *__info,
25845f
 libc_hidden_proto (__sigtimedwait)
25845f
 extern int __sigqueue (__pid_t __pid, int __sig,
25845f
 		       const union sigval __val);
25845f
+struct sigvec;
25845f
 extern int __sigvec (int __sig, const struct sigvec *__vec,
25845f
 		     struct sigvec *__ovec);
25845f
 extern int __sigreturn (struct sigcontext *__scp);
25845f
diff --git a/signal/sigvec.c b/signal/sigvec.c
25845f
index e44daf1ab6fd2f39..21e304d944e46c18 100644
25845f
--- a/signal/sigvec.c
25845f
+++ b/signal/sigvec.c
25845f
@@ -24,10 +24,7 @@
25845f
    reset to SIG_DFL before `sv_handler' is entered.  If OVEC is non-NULL,
25845f
    it is filled in with the old information for SIG.  */
25845f
 int
25845f
-__sigvec (sig, vec, ovec)
25845f
-     int sig;
25845f
-     const struct sigvec *vec;
25845f
-     struct sigvec *ovec;
25845f
+__sigvec (int sig, const struct sigvec *vec, struct sigvec *ovec)
25845f
 {
25845f
   __set_errno (ENOSYS);
25845f
   return -1;
25845f
diff --git a/sysdeps/posix/sigvec.c b/sysdeps/posix/sigvec.c
25845f
index 89e3d44d88ce3ee5..6a3ccc8eaf8ae0a5 100644
25845f
--- a/sysdeps/posix/sigvec.c
25845f
+++ b/sysdeps/posix/sigvec.c
25845f
@@ -43,10 +43,7 @@ static struct sigvec_wrapper_data sigvec_wrapper_data[NSIG];
25845f
    reset to SIG_DFL before `sv_handler' is entered.  If OVEC is non-NULL,
25845f
    it is filled in with the old information for SIG.  */
25845f
 int
25845f
-__sigvec (sig, vec, ovec)
25845f
-     int sig;
25845f
-     const struct sigvec *vec;
25845f
-     struct sigvec *ovec;
25845f
+__sigvec (int sig, const struct sigvec *vec, struct sigvec *ovec)
25845f
 {
25845f
   struct sigaction old;
25845f
 
25845f
@@ -159,8 +156,7 @@ weak_alias (__sigvec, sigvec)
25845f
 
25845f
 #ifndef SA_RESETHAND
25845f
 static void
25845f
-sigvec_wrapper_handler (sig)
25845f
-     int sig;
25845f
+sigvec_wrapper_handler (int sig)
25845f
 {
25845f
   struct sigvec_wrapper_data *data;
25845f
   struct sigaction act;