summaryrefslogtreecommitdiff
path: root/libports/ports.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-21 15:50:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-21 15:50:25 +0000
commitff074b918a0b1c17d6aa38df8eaca77d466d5e64 (patch)
tree7d6d424a03c62b4296a1011bead8b095a8e34cd4 /libports/ports.h
parent52e82d54a8c606da325bdeadcf579caedee72ba5 (diff)
(ports_do_mach_notify_dead_name): declare kern_return_t.
(ports_do_mach_notify_msg_accepted): Likewise. (ports_do_mach_notify_no_senders): Likewise. (ports_do_mach_notify_port_deleted): Likewise. (ports_do_mach_notify_port_destroyed): Likewise. (ports_do_mach_notify_send_once): Likewise. (ports_S_interrupt_operation): Likewise.
Diffstat (limited to 'libports/ports.h')
-rw-r--r--libports/ports.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libports/ports.h b/libports/ports.h
index f7d81e96..96550764 100644
--- a/libports/ports.h
+++ b/libports/ports.h
@@ -256,18 +256,18 @@ void ports_interrupt_rpc (void *port);
int ports_notify_server (mach_msg_header_t *, mach_msg_header_t *);
/* Notification server routines called by ports_notify_server. */
-extern error_t ports_do_mach_notify_dead_name (mach_port_t notify, mach_port_t deadport);
-extern error_t ports_do_mach_notify_msg_accepted (mach_port_t notify, mach_port_t name);
-extern error_t ports_do_mach_notify_no_senders (mach_port_t port, mach_port_mscount_t count);
-extern error_t ports_do_mach_notify_port_deleted (mach_port_t notify, mach_port_t name);
-extern error_t ports_do_mach_notify_port_destroyed (mach_port_t notify, mach_port_t name);
-extern error_t
+extern kern_return_t ports_do_mach_notify_dead_name (mach_port_t notify, mach_port_t deadport);
+extern kern_return_t ports_do_mach_notify_msg_accepted (mach_port_t notify, mach_port_t name);
+extern kern_return_t ports_do_mach_notify_no_senders (mach_port_t port, mach_port_mscount_t count);
+extern kern_return_t ports_do_mach_notify_port_deleted (mach_port_t notify, mach_port_t name);
+extern kern_return_t ports_do_mach_notify_port_destroyed (mach_port_t notify, mach_port_t name);
+extern kern_return_t
ports_do_mach_notify_send_once (mach_port_t notify);
/* A default interrupt server */
int ports_interrupt_server (mach_msg_header_t *, mach_msg_header_t *);
-extern error_t ports_S_interrupt_operation (mach_port_t,
- mach_port_seqno_t);
+extern kern_return_t ports_S_interrupt_operation (mach_port_t,
+ mach_port_seqno_t);
/* Private data */
extern struct mutex _ports_lock;