diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-12 15:03:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-12 15:03:04 +0000 |
commit | 33e52eb7cee677927f070393dc4e09403a45a30e (patch) | |
tree | 033b1eef0598094d4430c83775971ebdf1224f2a /gdb/symtab.c | |
parent | 887309a978123709141f498b3f7ff242cf97db7a (diff) | |
download | gdb-33e52eb7cee677927f070393dc4e09403a45a30e.tar.gz |
s/char */const char */
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 3b3bb54727d..437576384ab 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; |