summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/nosenders.c2
-rw-r--r--libtrivfs/notify-stubs.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/libtrivfs/nosenders.c b/libtrivfs/nosenders.c
index 9dd25056..6bb933f5 100644
--- a/libtrivfs/nosenders.c
+++ b/libtrivfs/nosenders.c
@@ -25,7 +25,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Called by the kernel when a port has no more senders. We arrange
to have this sent to the port which is out of senders (NOTIFY). MSCOUNT
is the make-send count of the port when the notification was generated. */
-error_t
+kern_return_t
trivfs_do_mach_notify_no_senders (mach_port_t notify,
mach_port_mscount_t mscount)
{
diff --git a/libtrivfs/notify-stubs.c b/libtrivfs/notify-stubs.c
index 74e253a9..448984a4 100644
--- a/libtrivfs/notify-stubs.c
+++ b/libtrivfs/notify-stubs.c
@@ -18,34 +18,34 @@
#include "priv.h"
#include "notify_S.h"
-error_t
+kern_return_t
trivfs_do_mach_notify_port_deleted (mach_port_t notify,
mach_port_t name)
{
return 0;
}
-error_t
+kern_return_t
trivfs_do_mach_notify_msg_accepted (mach_port_t notify,
mach_port_t name)
{
return 0;
}
-error_t
+kern_return_t
trivfs_do_mach_notify_port_destroyed (mach_port_t notify,
mach_port_t name)
{
return 0;
}
-error_t
+kern_return_t
trivfs_do_mach_notify_send_once (mach_port_t notify)
{
return 0;
}
-error_t
+kern_return_t
trivfs_do_mach_notify_dead_name (mach_port_t notify,
mach_port_t name)
{