summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-20 22:25:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-20 23:10:51 +0200
commite299076fefd9649f78f853865d4745043e50813c (patch)
tree3196706791ff0fe489d1688f9d717cec2ce3b057 /mach
parentd145a456d9fcdc5d8560f4035bb6e35531ba8493 (diff)
Fix old-style function definition
* mach/errstring.c (mach_error_type, mach_error_string): Fix old-style function definition.
Diffstat (limited to 'mach')
-rw-r--r--mach/errstring.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mach/errstring.c b/mach/errstring.c
index 52cf1eb46e..c00b02c2a6 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;