Fix compilation error.
	* m2-exp.y (yyerror): Use ANSI C prototype.
This commit is contained in:
Jan Kratochvil 2012-01-17 00:06:47 +00:00
parent a3f2b44cfd
commit b486de6062
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compilation error.
* m2-exp.y (yyerror): Use ANSI C prototype.
2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
* f-exp.y (parse_number): Convert prototype from K&R to ANSI C.

View File

@ -1067,7 +1067,6 @@ yylex (void)
void
yyerror (char *msg)
char *msg;
{
if (prev_lexptr)
lexptr = prev_lexptr;