This is the mail archive of the binutils@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]

[PATCH, obvious] fixup another old style function definition


From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>

Hi,

yet another old style function.

built mips-elf, and committing as obvious since people seemed to think it was
last time.

Thanks!

Trev


gas/ChangeLog:

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

	* itbl-parse.y (yyerror): Use modern argument declaration style.
---
 gas/itbl-parse.y | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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;
-- 
2.7.4


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