This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] fixup another old style function definition


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=852a1d494228a2042f11426eb2fa681c4d27418a

commit 852a1d494228a2042f11426eb2fa681c4d27418a
Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Date:   Tue May 24 08:59:35 2016 -0400

    fixup another old style function definition
    
    gas/ChangeLog:
    
    2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
    
    	* itbl-parse.y (yyerror): Use modern argument declaration style.

Diff:
---
 gas/ChangeLog    | 4 ++++
 gas/itbl-parse.y | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index c97aa1d..ec30637 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
 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
 	sh_arg_type.
 	(get_operand): Adjust.
diff --git a/gas/itbl-parse.y b/gas/itbl-parse.y
index e9dac5c..b28c48e 100644
--- a/gas/itbl-parse.y
+++ b/gas/itbl-parse.y
@@ -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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]