aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/rtti.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-04-04 20:46:23 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-04-04 20:46:23 +0000
commitc2e407f12ccaa5d73b07e602b1d9dc3b57efcf9f (patch)
treee6852ba42179a28ed86a60875b5c21324b8146b2 /gcc/cp/rtti.c
parentc0b864fce74e47f47672788276d1ae0745323f3b (diff)
downloadgcc-c2e407f12ccaa5d73b07e602b1d9dc3b57efcf9f.zip
gcc-c2e407f12ccaa5d73b07e602b1d9dc3b57efcf9f.tar.gz
gcc-c2e407f12ccaa5d73b07e602b1d9dc3b57efcf9f.tar.bz2
cfns.gperf (hash, [...]): Prototype.
* cfns.gperf (hash, libc_name_p): Prototype. * rtti.c (build_dynamic_cast_1): Constification. * search.c (dfs_debug_unmarkedp, dfs_debug_mark): Unhide prototypes. * semantics.c (deferred_type_access_control): Prototype. From-SVN: r32909
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r--gcc/cp/rtti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index a5429ec..293d9e1 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -559,7 +559,7 @@ build_dynamic_cast_1 (type, expr)
tree exprtype;
tree dcast_fn;
tree old_expr = expr;
- char* errstr = NULL;
+ const char *errstr = NULL;
/* T shall be a pointer or reference to a complete class type, or
`pointer to cv void''. */