[PATCH, obvious] fixup another old style function definition

tbsaunde+binutils@tbsaunde.org tbsaunde+binutils@tbsaunde.org
Mon Jun 6 03:41:00 GMT 2016


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



More information about the Binutils mailing list