This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, obvious] fixup another old style function definition
- From: tbsaunde+binutils at tbsaunde dot org
- To: binutils at sourceware dot org
- Cc: Trevor Saunders <tbsaunde+binutils at tbsaunde dot org>
- Date: Sun, 5 Jun 2016 23:48:01 -0400
- Subject: [PATCH, obvious] fixup another old style function definition
- Authentication-results: sourceware.org; auth=none
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