summaryrefslogtreecommitdiff
path: root/libports/inhibit-class-rpcs.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-24 19:49:11 +0000
committerMiles Bader <miles@gnu.org>1995-08-24 19:49:11 +0000
commit3242a6c4775c30df5d6df1dadc2724c980ddce1a (patch)
treebdd48a0c30977e3e1307b037149f872acb97be95 /libports/inhibit-class-rpcs.c
parent782cd8f7747e3cb976f2b2a4f515e7997a62485c (diff)
(ports_inhibit_class_rpcs): thread_cancel -> hurd_thread_cancel.
Include <hurd.h>.
Diffstat (limited to 'libports/inhibit-class-rpcs.c')
-rw-r--r--libports/inhibit-class-rpcs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/inhibit-class-rpcs.c b/libports/inhibit-class-rpcs.c
index 5bc94541..033d0b11 100644
--- a/libports/inhibit-class-rpcs.c
+++ b/libports/inhibit-class-rpcs.c
@@ -19,6 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ports.h"
+#include <hurd.h>
#include <cthreads.h>
void
@@ -31,7 +32,7 @@ ports_inhibit_class_rpcs (struct port_class *class)
for (pi = class->ports; pi; pi = pi->next)
for (rpc = pi->current_rpcs; rpc; rpc = rpc->next)
- thread_cancel (rpc->thread);
+ hurd_thread_cancel (rpc->thread);
while (class->rpcs)
{