diff options
Diffstat (limited to 'gcc/cp/cp-lang.c')
-rw-r--r-- | gcc/cp/cp-lang.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/cp/cp-lang.c b/gcc/cp/cp-lang.c index 6007094..26a1e6d 100644 --- a/gcc/cp/cp-lang.c +++ b/gcc/cp/cp-lang.c @@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see #include "cp-objcp-common.h" enum c_language_kind c_language = clk_cxx; -static void cp_init_ts (void); static const char * cxx_dwarf_name (tree t, int verbosity); static enum classify_record cp_classify_record (tree type); static tree cp_eh_personality (void); @@ -71,7 +70,7 @@ static tree cxx_enum_underlying_base_type (const_tree); #undef LANG_HOOKS_DWARF_NAME #define LANG_HOOKS_DWARF_NAME cxx_dwarf_name #undef LANG_HOOKS_INIT_TS -#define LANG_HOOKS_INIT_TS cp_init_ts +#define LANG_HOOKS_INIT_TS cp_common_init_ts #undef LANG_HOOKS_EH_PERSONALITY #define LANG_HOOKS_EH_PERSONALITY cp_eh_personality #undef LANG_HOOKS_EH_RUNTIME_TYPE @@ -102,14 +101,6 @@ objcp_tsubst_copy_and_build (tree /*t*/, return NULL_TREE; } -static void -cp_init_ts (void) -{ - cp_common_init_ts (); - - init_shadowed_var_for_decl (); -} - static const char * cxx_dwarf_name (tree t, int verbosity) { |