]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mach: Fix old-style function definition.
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 20 Sep 2016 20:24:13 +0000 (22:24 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 20 Sep 2016 21:10:51 +0000 (23:10 +0200)
* mach/mach_error.c (mach_error): Fix old-style function definition.

ChangeLog
mach/mach_error.c

index 88c766f86f7009b413883d37508d491ae59ea59f..b022ba3a651365652bf1f22889a5a2c677b97569 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
index 8bbb2ec74e861ba6cff4e072a3b8ecd2fe9c79b5..0d3082d021aaee96617124051532216e9bfdd7e0 100644 (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];