aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-01-17 00:06:47 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-01-17 00:06:47 +0000
commitb486de60627b63bbb87af1187b01669b2b6dbc39 (patch)
tree23616f1c04311c881903a02312c19321ec981dfe
parenta3f2b44cfd0c98594212dc133c040dceb697c6fb (diff)
downloadgdb-b486de60627b63bbb87af1187b01669b2b6dbc39.zip
gdb-b486de60627b63bbb87af1187b01669b2b6dbc39.tar.gz
gdb-b486de60627b63bbb87af1187b01669b2b6dbc39.tar.bz2
gdb/
Fix compilation error. * m2-exp.y (yyerror): Use ANSI C prototype.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/m2-exp.y1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 66ffde5..71c2051 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index af6c400..eb46b7b 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;