aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2002-02-13 18:49:30 +0000
committerMichael Chastain <mec@google.com>2002-02-13 18:49:30 +0000
commit6c6ea35e3430aed6ef6af1225a0924e95be97d30 (patch)
tree92d8d9e9e53979b783d2d262afb579043589d067 /gdb/language.c
parent76f57f3aaa745f1dbb24496feb91ee18be5cfe17 (diff)
downloadgdb-6c6ea35e3430aed6ef6af1225a0924e95be97d30.zip
gdb-6c6ea35e3430aed6ef6af1225a0924e95be97d30.tar.gz
gdb-6c6ea35e3430aed6ef6af1225a0924e95be97d30.tar.bz2
2002-02-13 Michael Chastain <mec@shout.net>
* defs.h: Kill CONST_PTR. * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". * c-lang.c (c_builtin_types): Likewise. * ch-lang.c (ch_builtin_types): Likewise. * f-lang.c (f_builtin_types): Likewise. * language.c (unknown_builtin_types): Likewise. * m2-lang.c (m2_builtin_types): Likewise. * p-lang.c (pascal_builtin_types): Likewise. * scm-lang.c (c_builtin_types): Likewise.
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/language.c b/gdb/language.c
index a9077a9..4c4036b 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -1,5 +1,5 @@
/* Multiple source language support for GDB.
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+ Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
Contributed by the Department of Computer Science at the State University
of New York at Buffalo.
@@ -1444,7 +1444,7 @@ unk_lang_value_print (struct value *val, struct ui_file *stream, int format,
error ("internal error - unimplemented function unk_lang_value_print called.");
}
-static struct type **CONST_PTR (unknown_builtin_types[]) =
+static struct type **const (unknown_builtin_types[]) =
{
0
};