Formerly unix/sysv/sysv4/__sigact.c.~3~
authorBrendan Kehoe <brendan@zen.org>
Tue, 22 Feb 1994 01:47:51 +0000 (01:47 +0000)
committerBrendan Kehoe <brendan@zen.org>
Tue, 22 Feb 1994 01:47:51 +0000 (01:47 +0000)
sysdeps/unix/sysv/sysv4/sigaction.c

index 7ce5ab5..e945373 100644 (file)
@@ -29,7 +29,8 @@ extern int __sigaction_syscall (int,
 static void
 trampoline (int sig, int code, struct sigcontext *context)
 {
-  (*user_handlers[sig]) (sig, code, context);
+  (*(void (*) (int, int, struct sigcontext *)) user_handlers[sig])
+    (sig, code, context);
   __context_syscall (1, context);
 }