diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-09-20 22:24:13 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-09-20 23:10:51 +0200 |
commit | d145a456d9fcdc5d8560f4035bb6e35531ba8493 (patch) | |
tree | dc9b652e12f92ef0335c928f6c4cf5e7771c1991 | |
parent | 802c1c5a6539024af3c51fd11e6f3cda1f850c62 (diff) | |
download | glibc-d145a456d9fcdc5d8560f4035bb6e35531ba8493.zip glibc-d145a456d9fcdc5d8560f4035bb6e35531ba8493.tar.gz glibc-d145a456d9fcdc5d8560f4035bb6e35531ba8493.tar.bz2 |
mach: Fix old-style function definition.
* mach/mach_error.c (mach_error): Fix old-style function definition.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | mach/mach_error.c | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -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> diff --git a/mach/mach_error.c b/mach/mach_error.c index 8bbb2ec..0d3082d 100644 --- a/mach/mach_error.c +++ b/mach/mach_error.c @@ -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]; |