summaryrefslogtreecommitdiff
path: root/gas/itbl-parse.y
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-24 08:59:35 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-06-05 23:49:03 -0400
commit852a1d494228a2042f11426eb2fa681c4d27418a (patch)
tree7592c811b447ff8eb8341a6a6d063ced47f94b66 /gas/itbl-parse.y
parentc4212e111cdd46d3b7da8b60c5adf39b8654e3c6 (diff)
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.
Diffstat (limited to 'gas/itbl-parse.y')
-rw-r--r--gas/itbl-parse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/itbl-parse.y b/gas/itbl-parse.y
index e9dac5cd19..b28c48e751 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;