summaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/Makefile2
-rw-r--r--signal/allocrtsig.c2
-rw-r--r--signal/kill.c6
-rw-r--r--signal/killpg.c6
-rw-r--r--signal/raise.c5
-rw-r--r--signal/sigaction.c7
-rw-r--r--signal/sigaddset.c6
-rw-r--r--signal/sigaltstack.c6
-rw-r--r--signal/sigandset.c7
-rw-r--r--signal/sigblock.c5
-rw-r--r--signal/sigdelset.c6
-rw-r--r--signal/sigempty.c5
-rw-r--r--signal/sigfillset.c5
-rw-r--r--signal/siggetmask.c2
-rw-r--r--signal/sighold.c5
-rw-r--r--signal/sigignore.c5
-rw-r--r--signal/sigintr.c6
-rw-r--r--signal/sigisempty.c5
-rw-r--r--signal/sigismem.c6
-rw-r--r--signal/signal.c6
-rw-r--r--signal/signal.h2
-rw-r--r--signal/sigorset.c7
-rw-r--r--signal/sigpause.c6
-rw-r--r--signal/sigpending.c5
-rw-r--r--signal/sigprocmask.c7
-rw-r--r--signal/sigqueue.c2
-rw-r--r--signal/sigrelse.c5
-rw-r--r--signal/sigreturn.c5
-rw-r--r--signal/sigset.c6
-rw-r--r--signal/sigsetmask.c5
-rw-r--r--signal/sigsetops.h2
-rw-r--r--signal/sigstack.c6
-rw-r--r--signal/sigsuspend.c5
-rw-r--r--signal/sigtimedwait.c2
-rw-r--r--signal/sigvec.c5
-rw-r--r--signal/sigwait.c2
-rw-r--r--signal/sigwaitinfo.c2
-rw-r--r--signal/sysv_signal.c6
-rw-r--r--signal/tst-raise.c2
-rw-r--r--signal/tst-sigsimple.c2
40 files changed, 69 insertions, 118 deletions
diff --git a/signal/Makefile b/signal/Makefile
index ffff29fa9b..9d29ff49f3 100644
--- a/signal/Makefile
+++ b/signal/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2015 Free Software Foundation, Inc.
+# Copyright (C) 1991-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/allocrtsig.c b/signal/allocrtsig.c
index 0dd003110f..463e5e3d05 100644
--- a/signal/allocrtsig.c
+++ b/signal/allocrtsig.c
@@ -1,5 +1,5 @@
/* Handle real-time signal allocation. Generic version.
- Copyright (C) 1997-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
diff --git a/signal/kill.c b/signal/kill.c
index 6aa8cc7b8c..b1dabb78aa 100644
--- a/signal/kill.c
+++ b/signal/kill.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,9 +23,7 @@
send SIG to all processes in the current process's process group.
If PID is < -1, send SIG to all processes in process group - PID. */
int
-__kill (pid, sig)
- int pid;
- int sig;
+__kill (int pid, int sig)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/killpg.c b/signal/killpg.c
index e4b7cf515f..1a70031a6d 100644
--- a/signal/killpg.c
+++ b/signal/killpg.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,9 +23,7 @@
If PGRP is zero, send SIG to all processes in
the current process's process group. */
int
-killpg (pgrp, sig)
- __pid_t pgrp;
- int sig;
+killpg (__pid_t pgrp, int sig)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/raise.c b/signal/raise.c
index d917af43fe..13194f2c74 100644
--- a/signal/raise.c
+++ b/signal/raise.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,8 +20,7 @@
/* Raise the signal SIG. */
int
-raise (sig)
- int sig;
+raise (int sig)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigaction.c b/signal/sigaction.c
index f73944e5a8..b45e342276 100644
--- a/signal/sigaction.c
+++ b/signal/sigaction.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,10 +22,7 @@
/* If ACT is not NULL, change the action for SIG to *ACT.
If OACT is not NULL, put the old action for SIG in *OACT. */
int
-__sigaction (sig, act, oact)
- int sig;
- const struct sigaction *act;
- struct sigaction *oact;
+__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
if (sig <= 0 || sig >= NSIG)
{
diff --git a/signal/sigaddset.c b/signal/sigaddset.c
index 9f65da218e..2020cb48bb 100644
--- a/signal/sigaddset.c
+++ b/signal/sigaddset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,9 +19,7 @@
/* Add SIGNO to SET. */
int
-sigaddset (set, signo)
- sigset_t *set;
- int signo;
+sigaddset (sigset_t *set, int signo)
{
if (set == NULL || signo <= 0 || signo >= NSIG)
{
diff --git a/signal/sigaltstack.c b/signal/sigaltstack.c
index aaaf108a77..34e3545a65 100644
--- a/signal/sigaltstack.c
+++ b/signal/sigaltstack.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,7 @@
/* Run signals handlers on the stack specified by SS (if not NULL).
If OSS is not NULL, it is filled in with the old signal stack status. */
int
-sigaltstack (ss, oss)
- const struct sigaltstack *ss;
- struct sigaltstack *oss;
+sigaltstack (const struct sigaltstack *ss, struct sigaltstack *oss)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigandset.c b/signal/sigandset.c
index f804ab7c98..e6a188fcd8 100644
--- a/signal/sigandset.c
+++ b/signal/sigandset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,10 +22,7 @@
/* Combine sets LEFT and RIGHT by logical AND and place result in DEST. */
int
-sigandset (dest, left, right)
- sigset_t *dest;
- const sigset_t *left;
- const sigset_t *right;
+sigandset (sigset_t *dest, const sigset_t *left, const sigset_t *right)
{
if (dest == NULL || left == NULL || right == NULL)
{
diff --git a/signal/sigblock.c b/signal/sigblock.c
index aff495b201..f10b15b418 100644
--- a/signal/sigblock.c
+++ b/signal/sigblock.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,8 +20,7 @@
/* Block signals in MASK, returning the old mask. */
int
-__sigblock (mask)
- int mask;
+__sigblock (int mask)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigdelset.c b/signal/sigdelset.c
index 3546f2f578..e60e166480 100644
--- a/signal/sigdelset.c
+++ b/signal/sigdelset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,9 +19,7 @@
/* Add SIGNO to SET. */
int
-sigdelset (set, signo)
- sigset_t *set;
- int signo;
+sigdelset (sigset_t *set, int signo)
{
if (set == NULL || signo <= 0 || signo >= NSIG)
{
diff --git a/signal/sigempty.c b/signal/sigempty.c
index 0e5b423672..2c96de9bd9 100644
--- a/signal/sigempty.c
+++ b/signal/sigempty.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,7 @@
/* Clear all signals from SET. */
int
-sigemptyset (set)
- sigset_t *set;
+sigemptyset (sigset_t *set)
{
if (set == NULL)
{
diff --git a/signal/sigfillset.c b/signal/sigfillset.c
index cf55a11628..8ab9ec3a82 100644
--- a/signal/sigfillset.c
+++ b/signal/sigfillset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,7 @@
/* Set all signals in SET. */
int
-sigfillset (set)
- sigset_t *set;
+sigfillset (sigset_t *set)
{
if (set == NULL)
{
diff --git a/signal/siggetmask.c b/signal/siggetmask.c
index 329a156d97..0deb33980f 100644
--- a/signal/siggetmask.c
+++ b/signal/siggetmask.c
@@ -1,5 +1,5 @@
/* siggetmask -- useless alias for `sigblock (0)' for old Linux compatibility.
- Copyright (C) 1996-2015 Free Software Foundation, Inc.
+ Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sighold.c b/signal/sighold.c
index 3dcf330f68..d1f9f6493e 100644
--- a/signal/sighold.c
+++ b/signal/sighold.c
@@ -1,5 +1,5 @@
/* Add SIG to the calling process' signal mask.
- Copyright (C) 1998-2015 Free Software Foundation, Inc.
+ Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -22,8 +22,7 @@
#include <signal.h>
int
-sighold (sig)
- int sig;
+sighold (int sig)
{
sigset_t set;
diff --git a/signal/sigignore.c b/signal/sigignore.c
index 67af463c6c..c695fe5d7f 100644
--- a/signal/sigignore.c
+++ b/signal/sigignore.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,7 @@
/* Set the disposition for SIG to SIG_IGN. */
int
-sigignore (sig)
- int sig;
+sigignore (int sig)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigintr.c b/signal/sigintr.c
index 8f274cbb05..002ea9f1c2 100644
--- a/signal/sigintr.c
+++ b/signal/sigintr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,7 @@
(causing them to fail with EINTR); if INTERRUPT is zero, make system
calls be restarted after signal SIG. */
int
-siginterrupt (sig, interrupt)
- int sig;
- int interrupt;
+siginterrupt (int sig, int interrupt)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigisempty.c b/signal/sigisempty.c
index 3c60d7eb11..ec35debd43 100644
--- a/signal/sigisempty.c
+++ b/signal/sigisempty.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,7 @@
/* Test whether SET is empty. */
int
-sigisemptyset (set)
- const sigset_t *set;
+sigisemptyset (const sigset_t *set)
{
if (set == NULL)
{
diff --git a/signal/sigismem.c b/signal/sigismem.c
index 719522961f..ead8a05674 100644
--- a/signal/sigismem.c
+++ b/signal/sigismem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,9 +19,7 @@
/* Return 1 if SIGNO is in SET, 0 if not. */
int
-sigismember (set, signo)
- const sigset_t *set;
- int signo;
+sigismember (const sigset_t *set, int signo)
{
if (set == NULL || signo <= 0 || signo >= NSIG)
{
diff --git a/signal/signal.c b/signal/signal.c
index a249e74006..731d42c8b0 100644
--- a/signal/signal.c
+++ b/signal/signal.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,7 @@
/* Set the handler for the signal SIG to HANDLER,
returning the old handler, or SIG_ERR on error. */
__sighandler_t
-signal (sig, handler)
- int sig;
- __sighandler_t handler;
+signal (int sig, __sighandler_t handler)
{
__set_errno (ENOSYS);
return SIG_ERR;
diff --git a/signal/signal.h b/signal/signal.h
index 712cd95c76..47e995a51c 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sigorset.c b/signal/sigorset.c
index f49d978f77..13573d72a5 100644
--- a/signal/sigorset.c
+++ b/signal/sigorset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,10 +22,7 @@
/* Combine sets LEFT and RIGHT by logical OR and place result in DEST. */
int
-sigorset (dest, left, right)
- sigset_t *dest;
- const sigset_t *left;
- const sigset_t *right;
+sigorset (sigset_t *dest, const sigset_t *left, const sigset_t *right)
{
if (dest == NULL || left == NULL || right == NULL)
{
diff --git a/signal/sigpause.c b/signal/sigpause.c
index 390329c248..c572ef095f 100644
--- a/signal/sigpause.c
+++ b/signal/sigpause.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,7 @@
#undef sigpause
int
-__sigpause (sig_or_mask, is_sig)
- int sig_or_mask;
- int is_sig;
+__sigpause (int sig_or_mask, int is_sig)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigpending.c b/signal/sigpending.c
index 104f6a38b3..12e0faeba9 100644
--- a/signal/sigpending.c
+++ b/signal/sigpending.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,7 @@
/* Store in SET all signals that are blocked and pending. */
int
-sigpending (set)
- sigset_t *set;
+sigpending (sigset_t *set)
{
if (set == NULL)
{
diff --git a/signal/sigprocmask.c b/signal/sigprocmask.c
index 33fb241ea5..2ec23864b8 100644
--- a/signal/sigprocmask.c
+++ b/signal/sigprocmask.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,10 +23,7 @@
according to HOW, which may be SIG_BLOCK, SIG_UNBLOCK or SIG_SETMASK.
If OSET is not NULL, store the old set of blocked signals in *OSET. */
int
-__sigprocmask (how, set, oset)
- int how;
- const sigset_t *set;
- sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
{
switch (how)
{
diff --git a/signal/sigqueue.c b/signal/sigqueue.c
index 532934d67c..9fe02a714c 100644
--- a/signal/sigqueue.c
+++ b/signal/sigqueue.c
@@ -1,5 +1,5 @@
/* Implementation of sigqueue function from POSIX.1b.
- Copyright (C) 1997-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sigrelse.c b/signal/sigrelse.c
index 56c535c9e7..5dcba53ec1 100644
--- a/signal/sigrelse.c
+++ b/signal/sigrelse.c
@@ -1,5 +1,5 @@
/* Remove SIG from the calling process' signal mask.
- Copyright (C) 1998-2015 Free Software Foundation, Inc.
+ Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -22,8 +22,7 @@
#include <signal.h>
int
-sigrelse (sig)
- int sig;
+sigrelse (int sig)
{
sigset_t set;
diff --git a/signal/sigreturn.c b/signal/sigreturn.c
index 88f223f98b..a0797c62ea 100644
--- a/signal/sigreturn.c
+++ b/signal/sigreturn.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,8 +19,7 @@
#include <errno.h>
int
-__sigreturn (context)
- struct sigcontext *context;
+__sigreturn (struct sigcontext *context)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigset.c b/signal/sigset.c
index 37c549e074..f475772e76 100644
--- a/signal/sigset.c
+++ b/signal/sigset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,7 @@
/* Set the disposition for SIG. */
__sighandler_t
-sigset (sig, disp)
- int sig;
- __sighandler_t disp;
+sigset (int sig, __sighandler_t disp)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigsetmask.c b/signal/sigsetmask.c
index fc27bd41e1..504359cc2d 100644
--- a/signal/sigsetmask.c
+++ b/signal/sigsetmask.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,8 +19,7 @@
#include <signal.h>
int
-__sigsetmask (mask)
- int mask;
+__sigsetmask (int mask)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigsetops.h b/signal/sigsetops.h
index e1f981f933..b6e8dddccd 100644
--- a/signal/sigsetops.h
+++ b/signal/sigsetops.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sigstack.c b/signal/sigstack.c
index 4704a56151..b3b7dcec46 100644
--- a/signal/sigstack.c
+++ b/signal/sigstack.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,7 @@
/* Run signals handlers on the stack specified by SS (if not NULL).
If OSS is not NULL, it is filled in with the old signal stack status. */
int
-sigstack (ss, oss)
- struct sigstack *ss;
- struct sigstack *oss;
+sigstack (struct sigstack *ss, struct sigstack *oss)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigsuspend.c b/signal/sigsuspend.c
index cb4ece8c10..8e2cda58dd 100644
--- a/signal/sigsuspend.c
+++ b/signal/sigsuspend.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,7 @@
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals. */
int
-__sigsuspend (set)
- const sigset_t *set;
+__sigsuspend (const sigset_t *set)
{
__set_errno (ENOSYS);
return -1;
diff --git a/signal/sigtimedwait.c b/signal/sigtimedwait.c
index 2b2192184c..90e4244297 100644
--- a/signal/sigtimedwait.c
+++ b/signal/sigtimedwait.c
@@ -1,5 +1,5 @@
/* Implementation of sigtimedwait function from POSIX.1b.
- Copyright (C) 1997-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sigvec.c b/signal/sigvec.c
index 1f9395e654..1c73fb6318 100644
--- a/signal/sigvec.c
+++ b/signal/sigvec.c
@@ -1,5 +1,5 @@
/* ABI compatibility for obsolete sigvec function from 4.2BSD.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -179,8 +179,7 @@ compat_symbol (libc, __sigvec, sigvec, GLIBC_2_0);
# ifndef SA_RESETHAND
static void
-sigvec_wrapper_handler (sig)
- int sig;
+sigvec_wrapper_handler (int sig)
{
struct sigvec_wrapper_data *data;
struct sigaction act;
diff --git a/signal/sigwait.c b/signal/sigwait.c
index e0e0dc4e3e..d87676bcd7 100644
--- a/signal/sigwait.c
+++ b/signal/sigwait.c
@@ -1,5 +1,5 @@
/* sigwait - implementation of sigwait function from POSIX.1c.
- Copyright (C) 1996-2015 Free Software Foundation, Inc.
+ Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sigwaitinfo.c b/signal/sigwaitinfo.c
index 41257615d7..6c32f3e424 100644
--- a/signal/sigwaitinfo.c
+++ b/signal/sigwaitinfo.c
@@ -1,5 +1,5 @@
/* Implementation of sigwaitinfo function from POSIX.1b.
- Copyright (C) 1997-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
diff --git a/signal/sysv_signal.c b/signal/sysv_signal.c
index 03126961b5..3010c3ec7f 100644
--- a/signal/sysv_signal.c
+++ b/signal/sysv_signal.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,7 @@
/* Set the handler for the signal SIG to HANDLER,
returning the old handler, or SIG_ERR on error. */
__sighandler_t
-__sysv_signal (sig, handler)
- int sig;
- __sighandler_t handler;
+__sysv_signal (int sig, __sighandler_t handler)
{
/* Check signal extents to protect __sigismember. */
if (handler == SIG_ERR || sig < 1 || sig >= NSIG)
diff --git a/signal/tst-raise.c b/signal/tst-raise.c
index 9f6abdce08..889cc6288a 100644
--- a/signal/tst-raise.c
+++ b/signal/tst-raise.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
diff --git a/signal/tst-sigsimple.c b/signal/tst-sigsimple.c
index a1faff6a89..ea65a5d46a 100644
--- a/signal/tst-sigsimple.c
+++ b/signal/tst-sigsimple.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.