diff options
Diffstat (limited to 'libmom')
-rw-r--r-- | libmom/mom-kerndep.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |