diff options
Diffstat (limited to 'hurd/thread-cancel.c')
-rw-r--r-- | hurd/thread-cancel.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/hurd/thread-cancel.c b/hurd/thread-cancel.c index b648046c3d..669d92c606 100644 --- a/hurd/thread-cancel.c +++ b/hurd/thread-cancel.c @@ -22,15 +22,6 @@ #include <thread_state.h> -/* See hurdsig.c. */ -extern mach_port_t _hurdsig_abort_rpcs (struct hurd_sigstate *ss, - int signo, int sigthread, - struct machine_thread_all_state *, - int *state_change, - mach_port_t *reply_port, - mach_msg_type_name_t reply_port_type, - int untraced); - error_t hurd_thread_cancel (thread_t thread) { @@ -64,7 +55,7 @@ hurd_thread_cancel (thread_t thread) /* Interrupt any interruptible RPC now in progress. */ state.set = 0; - _hurdsig_abort_rpcs (ss, 0, 0, &state, &state_change, NULL, 0, 0); + _hurdsig_abort_rpcs (ss, 0, 0, &state, &state_change, NULL); if (state_change) err = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, (natural_t *) &state.basic, |