From 19315772ee83bc6ce2f3342fa787090d4f446ce5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 24 May 1996 20:17:15 +0000 Subject: (mom_error_translate_mach): New function. --- libmom/mom-kerndep.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmom') diff --git a/libmom/mom-kerndep.h b/libmom/mom-kerndep.h index 3534fdc7..d14bc246 100644 --- a/libmom/mom-kerndep.h +++ b/libmom/mom-kerndep.h @@ -40,4 +40,5 @@ error_t mom_mach_port_set (struct mom_port_ref *obj, mach_port_t port); long as the user has a reference to OBJ. */ mach_port_t mom_fetch_mach_port (struct mom_port_ref *obj); - +/* Turn a Mach error number into a Mom error number. */ +mom_error_t mom_error_translate_mach (error_t macherr); -- cgit v1.2.3