From: Jan Kratochvil Date: Tue, 17 Jan 2012 00:06:47 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b486de60627b63bbb87af1187b01669b2b6dbc39;p=binutils-gdb.git gdb/ Fix compilation error. * m2-exp.y (yyerror): Use ANSI C prototype. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66ffde568ec..71c20517942 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-01-17 Jan Kratochvil + + Fix compilation error. + * m2-exp.y (yyerror): Use ANSI C prototype. + 2012-01-16 Sergio Durigan Junior * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index af6c400a948..eb46b7b32b0 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -1067,7 +1067,6 @@ yylex (void) void yyerror (char *msg) - char *msg; { if (prev_lexptr) lexptr = prev_lexptr;