aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-01-05 04:14:28 +0000
committerFred Fish <fnf@specifix.com>1993-01-05 04:14:28 +0000
commit533d1dc743abbc739ddd57f686b4c47a487515d5 (patch)
treec6bc34a367e2badcf39050fb24b44287ff582302 /gdb
parent76a0ffb47b50a3c7918eb93b4f5c5871ccdf31ef (diff)
downloadgdb-533d1dc743abbc739ddd57f686b4c47a487515d5.zip
gdb-533d1dc743abbc739ddd57f686b4c47a487515d5.tar.gz
gdb-533d1dc743abbc739ddd57f686b4c47a487515d5.tar.bz2
* c-exp.y (yylex): Make static, to match prototype and other
<lang>-exp.y files.
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;