summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-12-09 20:31:50 +0000
committerRoland McGrath <roland@gnu.org>1994-12-09 20:31:50 +0000
commit92526f51ebdf420b10f3e2bd840b2ee9109fe009 (patch)
treedde5f382536f33070ed31fb11fe2e6a69c3d7809
parentfd8b1148fb27cf9e44d51c887dc1e3f39d49254d (diff)
(preempt_sigalrm): Use `long int' for SIGCODE; take SIGERROR arg.
-rw-r--r--sysdeps/mach/hurd/setitimer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index a8015f2a12..5ba74f68eb 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -109,7 +109,8 @@ timer_thread (void)
}
/* Forward declaration. */
-static sighandler_t preempt_sigalrm (thread_t thread, int signo, int sigcode);
+static sighandler_t preempt_sigalrm (thread_t thread, int signo,
+ long int sigcode, int sigerror);
/* Called before any normal SIGALRM signal is delivered.
Reload the itimer, or disable the itimer. */
@@ -293,7 +294,7 @@ DEFUN(__setitimer, (which, new, old),
}
static sighandler_t
-preempt_sigalrm (thread_t thread, int signo, int sigcode)
+preempt_sigalrm (thread_t thread, int signo, long int sigcode, int sigerror)
{
struct itimerval it;