From 852a1d494228a2042f11426eb2fa681c4d27418a Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Tue, 24 May 2016 08:59:35 -0400 Subject: [PATCH] fixup another old style function definition gas/ChangeLog: 2016-06-05 Trevor Saunders * itbl-parse.y (yyerror): Use modern argument declaration style. --- gas/ChangeLog | 4 ++++ gas/itbl-parse.y | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c97aa1d0689..ec30637076d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-06-05 Trevor Saunders + + * itbl-parse.y (yyerror): Use modern argument declaration style. + 2016-06-05 Trevor Saunders * config/tc-sh.c (parse_reg): Change type of mode argument to diff --git a/gas/itbl-parse.y b/gas/itbl-parse.y index e9dac5cd199..b28c48e7517 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.30.2