aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-19 11:51:26 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-19 11:51:26 +0000
commit9dffe475b557197f4710bf5de819680e0e836ffb (patch)
treee1814d35462d827a445291883f21fe8ae24ec085 /gdb/c-exp.y
parent0def21a0f2b273b87e7260f62bfe9340f4776a13 (diff)
downloadgdb-9dffe475b557197f4710bf5de819680e0e836ffb.zip
gdb-9dffe475b557197f4710bf5de819680e0e836ffb.tar.gz
gdb-9dffe475b557197f4710bf5de819680e0e836ffb.tar.bz2
Lint
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 93a2a04..5e2e4b7 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -57,6 +57,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yyexca c_exca
void yyerror ();
+static int parse_number ();
/* #define YYDEBUG 1 */
@@ -1443,7 +1444,7 @@ struct type *builtin_type_unsigned_long_long;
struct type *builtin_type_float;
struct type *builtin_type_double;
-struct type **(c_builtin_types[]) =
+struct type ** const (c_builtin_types[]) =
{
&builtin_type_int,
&builtin_type_long,
@@ -1463,7 +1464,7 @@ struct type **(c_builtin_types[]) =
/* FIXME: Eventually do a separate defintion for C++. */
-struct language_defn c_language_defn = {
+const struct language_defn c_language_defn = {
"c", /* Language name */
language_c,
c_builtin_types,