gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 17 Jan 2012 00:06:47 +0000 (00:06 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 17 Jan 2012 00:06:47 +0000 (00:06 +0000)
Fix compilation error.
* m2-exp.y (yyerror): Use ANSI C prototype.

gdb/ChangeLog
gdb/m2-exp.y

index 66ffde568ec4e18505fd8aee613285772a244c30..71c2051794200b631723c18afd9c2872cd5716a7 100644 (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.
index af6c400a948d02ec65114a8fc9c42841a253a2d8..eb46b7b32b0eb4df4682be7137fe2d5aaa974c3b 100644 (file)
@@ -1067,7 +1067,6 @@ yylex (void)
 
 void
 yyerror (char *msg)
-     char *msg;
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;