diff options
Diffstat (limited to 'include/mach')
-rw-r--r-- | include/mach/error.h | 2 | ||||
-rw-r--r-- | include/mach/mig_errors.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/mach/error.h b/include/mach/error.h index 72a2d79c..035dcf83 100644 --- a/include/mach/error.h +++ b/include/mach/error.h @@ -44,7 +44,6 @@ #define err_none (mach_error_t)0 #define ERR_SUCCESS (mach_error_t)0 -#define ERR_ROUTINE_NIL (mach_error_fn_t)0 #define err_system(x) (((x)&0x3f)<<26) @@ -89,7 +88,6 @@ #ifndef __ASSEMBLER__ typedef kern_return_t mach_error_t; -typedef mach_error_t (* mach_error_fn_t)(); #endif /* __ASSEMBLER__ */ #endif /* _MACH_ERROR_H_ */ diff --git a/include/mach/mig_errors.h b/include/mach/mig_errors.h index 5758ccf3..389ce778 100644 --- a/include/mach/mig_errors.h +++ b/include/mach/mig_errors.h @@ -68,7 +68,7 @@ typedef struct mig_symtab { #else int #endif - (*ms_routine)(); + (*ms_routine)(void); } mig_symtab_t; /* |