Commit 4b731ffa by Kaveh R. Ghazi Committed by Kaveh Ghazi

* com.c (lang_printable_name): Constify a char*.

From-SVN: r28969
parent e1def31b
Sun Aug 29 09:47:45 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* com.c (lang_printable_name): Constify a char*.
Wed Aug 25 01:21:06 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> Wed Aug 25 01:21:06 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* lang-specs.h: Pass cc1 spec to f771. * lang-specs.h: Pass cc1 spec to f771.
......
...@@ -502,7 +502,7 @@ static void delete_block (tree block); ...@@ -502,7 +502,7 @@ static void delete_block (tree block);
static int duplicate_decls (tree newdecl, tree olddecl); static int duplicate_decls (tree newdecl, tree olddecl);
static void finish_decl (tree decl, tree init, bool is_top_level); static void finish_decl (tree decl, tree init, bool is_top_level);
static void finish_function (int nested); static void finish_function (int nested);
static char *lang_printable_name (tree decl, int v); static const char *lang_printable_name (tree decl, int v);
static tree lookup_name_current_level (tree name); static tree lookup_name_current_level (tree name);
static struct binding_level *make_binding_level (void); static struct binding_level *make_binding_level (void);
static void pop_f_function_context (void); static void pop_f_function_context (void);
...@@ -14417,7 +14417,7 @@ finish_function (int nested) ...@@ -14417,7 +14417,7 @@ finish_function (int nested)
per se, but if that comes up, it should be easy to check (being a per se, but if that comes up, it should be easy to check (being a
nested function and all). */ nested function and all). */
static char * static const char *
lang_printable_name (tree decl, int v) lang_printable_name (tree decl, int v)
{ {
/* Just to keep GCC quiet about the unused variable. /* Just to keep GCC quiet about the unused variable.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment