mach: Fix old-style function definition.

* mach/mach_error.c (mach_error): Fix old-style function definition.
This commit is contained in:
Samuel Thibault 2016-09-20 22:24:13 +02:00
parent 802c1c5a65
commit d145a456d9
2 changed files with 2 additions and 3 deletions

View File

@ -15,6 +15,7 @@
(_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
'sigcode', 'error' parameters with 'detail' parameter. Fix code
accordingly.
* mach/mach_error.c (mach_error): Fix old-style function definition.
2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>

View File

@ -63,9 +63,7 @@
extern char * mach_error_string_int(mach_error_t, boolean_t *);
void
mach_error( str, err )
char *str;
mach_error_t err;
mach_error(char *str, mach_error_t err)
{
char * err_str;
char buf[1024];