summaryrefslogtreecommitdiff
path: root/sysdeps/posix/signal.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 20:01:19 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 20:01:19 +0200
commit3896c5809b49e72fbadc57da2189ff42aa2a5d02 (patch)
tree976132226affe5ff11686d86d01d059aa5eabc6c /sysdeps/posix/signal.c
parent52c6cb0bba348bf5f25ff2a213e04c0f3fc378aa (diff)
parent4dc1e6e42f1f602e1d2227e112f2db8dce9da763 (diff)
Merge commit 'refs/top-bases/t/hurdsig-boot-fix' into t/hurdsig-boot-fix
Diffstat (limited to 'sysdeps/posix/signal.c')
-rw-r--r--sysdeps/posix/signal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/posix/signal.c b/sysdeps/posix/signal.c
index 0c588238f3..6884fc742d 100644
--- a/sysdeps/posix/signal.c
+++ b/sysdeps/posix/signal.c
@@ -1,5 +1,5 @@
/* BSD-like signal function.
- 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
@@ -26,9 +26,7 @@ sigset_t _sigintr attribute_hidden; /* Set by siginterrupt. */
/* Set the handler for the signal SIG to HANDLER,
returning the old handler, or SIG_ERR on error. */
__sighandler_t
-__bsd_signal (sig, handler)
- int sig;
- __sighandler_t handler;
+__bsd_signal (int sig, __sighandler_t handler)
{
struct sigaction act, oact;