]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
fixup another old style function definition
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Tue, 24 May 2016 12:59:35 +0000 (08:59 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 6 Jun 2016 03:49:03 +0000 (23:49 -0400)
gas/ChangeLog:

2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* itbl-parse.y (yyerror): Use modern argument declaration style.

gas/ChangeLog
gas/itbl-parse.y

index c97aa1d0689930ef9db65d7bdac82a0dda39f308..ec30637076d4dda7c731435b7eb9f6a51e3b28ee 100644 (file)
@@ -1,3 +1,7 @@
+2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * itbl-parse.y (yyerror): Use modern argument declaration style.
+
 2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
        * config/tc-sh.c (parse_reg): Change type of mode argument to
index e9dac5cd199ea758b7bd30f8011e768f74afaec6..b28c48e7517cf3b7f9b14ade8b5875205c45ca00 100644 (file)
@@ -450,8 +450,7 @@ value:
 %%
 
 static int
-yyerror (msg)
-     const char *msg;
+yyerror (const char *msg)
 {
   printf ("line %d: %s\n", insntbl_line, msg);
   return 0;