From e299076fefd9649f78f853865d4745043e50813c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 20 Sep 2016 22:25:37 +0200 Subject: Fix old-style function definition * mach/errstring.c (mach_error_type, mach_error_string): Fix old-style function definition. --- mach/errstring.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mach') diff --git a/mach/errstring.c b/mach/errstring.c index 52cf1eb..c00b02c 100644 --- a/mach/errstring.c +++ b/mach/errstring.c @@ -46,8 +46,7 @@ extern void __mach_error_map_compat (mach_error_t *); const char * -mach_error_type( err ) - mach_error_t err; +mach_error_type(mach_error_t err) { int sub, system; @@ -86,8 +85,7 @@ mach_error_string_int(mach_error_t err, } const char * -mach_error_string( err ) - mach_error_t err; +mach_error_string(mach_error_t err) { boolean_t diag; -- cgit v1.1