Constify main_name
[deliverable/binutils-gdb.git] / gdb / symtab.h
index 6780fa37be17b88a8cb7e2fb69441714912bd585..b91454c85c4f91d865b6ff1358954b696987b50f 100644 (file)
@@ -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.
This page took 0.024671 seconds and 4 git commands to generate.