summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-24 19:48:45 +0000
committerMiles Bader <miles@gnu.org>1995-08-24 19:48:45 +0000
commit782cd8f7747e3cb976f2b2a4f515e7997a62485c (patch)
treea487ffdeb4462bf43bce7401227f0e6fdf8c7ca8 /libports
parent5afd7d8a58fc5f27d8c6385abd9657f84c37f084 (diff)
(inhibit_all_rpcs): thread_cancel -> hurd_thread_cancel.
Include <hurd.h>.
Diffstat (limited to 'libports')
-rw-r--r--libports/inhibit-all-rpcs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/inhibit-all-rpcs.c b/libports/inhibit-all-rpcs.c
index 953bfc32..f1808180 100644
--- a/libports/inhibit-all-rpcs.c
+++ b/libports/inhibit-all-rpcs.c
@@ -19,6 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ports.h"
+#include <hurd.h>
#include <cthreads.h>
#include <hurd/ihash.h>
@@ -32,7 +33,7 @@ inhibit_all_rpcs ()
struct rpc_info *rpc;
for (rpc = pi->current_rpcs; rpc; rpc = rpc->next)
- thread_cancel (rpc->thread);
+ hurd_thread_cancel (rpc->thread);
return 0;
}