aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-12 15:03:04 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-12 15:03:04 +0000
commit1f8cc6dbc0da3d3248de330289713ab6cebb21f2 (patch)
tree40c8f220f1c6c3ddde20ac7d510fa9d150a6c07a /gdb/symtab.c
parent11f6f21d465eb5e05ff2819ae58ae545c6e15e59 (diff)
downloadgdb-1f8cc6dbc0da3d3248de330289713ab6cebb21f2.zip
gdb-1f8cc6dbc0da3d3248de330289713ab6cebb21f2.tar.gz
gdb-1f8cc6dbc0da3d3248de330289713ab6cebb21f2.tar.bz2
s/char */const char */
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 3b3bb54..4375763 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -79,7 +79,7 @@ static struct partial_symbol *lookup_partial_symbol (struct partial_symtab *,
const char *, int,
namespace_enum);
-static struct symtab *lookup_symtab_1 (char *);
+static struct symtab *lookup_symtab_1 (const char *);
static struct symbol *lookup_symbol_aux (const char *name, const
struct block *block, const
@@ -138,7 +138,7 @@ cplusplus_hint (char *name)
in the symtab filename will also work. */
static struct symtab *
-lookup_symtab_1 (char *name)
+lookup_symtab_1 (const char *name)
{
register struct symtab *s;
register struct partial_symtab *ps;
@@ -192,7 +192,7 @@ got_symtab:
of variations if the first lookup doesn't work. */
struct symtab *
-lookup_symtab (char *name)
+lookup_symtab (const char *name)
{
register struct symtab *s;
#if 0
@@ -229,7 +229,7 @@ lookup_symtab (char *name)
in the psymtab filename will also work. */
struct partial_symtab *
-lookup_partial_symtab (char *name)
+lookup_partial_symtab (const char *name)
{
register struct partial_symtab *pst;
register struct objfile *objfile;