mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix old-style function definition
* mach/errstring.c (mach_error_type, mach_error_string): Fix old-style function definition.
This commit is contained in:
@ -16,6 +16,7 @@
|
|||||||
'sigcode', 'error' parameters with 'detail' parameter. Fix code
|
'sigcode', 'error' parameters with 'detail' parameter. Fix code
|
||||||
accordingly.
|
accordingly.
|
||||||
* mach/mach_error.c (mach_error): Fix old-style function definition.
|
* mach/mach_error.c (mach_error): Fix old-style function definition.
|
||||||
|
* mach/errstring.c (mach_error_type, mach_error_string): Likewise.
|
||||||
|
|
||||||
2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
|
2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
@ -46,8 +46,7 @@
|
|||||||
extern void __mach_error_map_compat (mach_error_t *);
|
extern void __mach_error_map_compat (mach_error_t *);
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
mach_error_type( err )
|
mach_error_type(mach_error_t err)
|
||||||
mach_error_t err;
|
|
||||||
{
|
{
|
||||||
int sub, system;
|
int sub, system;
|
||||||
|
|
||||||
@ -86,8 +85,7 @@ mach_error_string_int(mach_error_t err,
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
mach_error_string( err )
|
mach_error_string(mach_error_t err)
|
||||||
mach_error_t err;
|
|
||||||
{
|
{
|
||||||
boolean_t diag;
|
boolean_t diag;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user