From b486de60627b63bbb87af1187b01669b2b6dbc39 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 17 Jan 2012 00:06:47 +0000 Subject: [PATCH] gdb/ Fix compilation error. * m2-exp.y (yyerror): Use ANSI C prototype. --- gdb/ChangeLog | 5 +++++ gdb/m2-exp.y | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2