diff options
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 6780fa3..b91454c 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -2041,11 +2041,8 @@ extern std::vector<symbol_search> search_symbols (const char *, extern bool treg_matches_sym_type_name (const compiled_regex &treg, const struct symbol *sym); -/* The name of the ``main'' function. - FIXME: cagney/2001-03-20: Can't make main_name() const since some - of the calling code currently assumes that the string isn't - const. */ -extern /*const */ char *main_name (void); +/* The name of the ``main'' function. */ +extern const char *main_name (); extern enum language main_language (void); /* Lookup symbol NAME from DOMAIN in MAIN_OBJFILE's global blocks. |