aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/c-exp.y2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d468d4f..5244f9c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
+ * c-exp.y (yylex): Make static, to match prototype and other
+ <lang>-exp.y files.
+
* expression.h (exp_opcode): Add BINOP_MOD.
* eval.c (evaluate_subexp): Handle new BINOP_MOD.
* expprint.c (dump_expression): Handle new BINOP_MOD.
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 31a1bab..21df46d 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -1081,7 +1081,7 @@ static const struct token tokentab2[] =
/* Read one token, getting characters through lexptr. */
-int
+static int
yylex ()
{
int c;