This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] cp/*.h: Remove unused prototypes.


Bootstrapped on i686-pc-linux-gnu.  Committed as obvious.

Kazu Hirata

2005-01-19  Kazu Hirata  <>

	* cp-tree.h, name-lookup.h: Remove unused prototypes.

Index: cp-tree.h
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.1095
diff -u -d -p -r1.1095 cp-tree.h
--- cp-tree.h	18 Jan 2005 23:51:24 -0000	1.1095
+++ cp-tree.h	19 Jan 2005 15:23:15 -0000
@@ -3659,7 +3659,6 @@ extern tree build_x_va_arg (tree, tree);
 extern tree cxx_type_promotes_to (tree);
 extern tree type_passed_as (tree);
 extern tree convert_for_arg_passing (tree, tree);
-extern tree cp_convert_parm_for_inlining        (tree, tree, tree);
 extern bool is_properly_derived_from (tree, tree);
 extern tree initialize_reference (tree, tree, tree, tree *);
 extern tree make_temporary_var_for_ref_to_temp (tree, tree);
@@ -3747,10 +3746,8 @@ enum cp_tree_node_structure_enum cp_tree
 extern bool cxx_mark_addressable		(tree);
 extern void cxx_push_function_context		(struct function *);
 extern void cxx_pop_function_context		(struct function *);
-extern void cxx_mark_function_context		(struct function *);
 extern void maybe_push_cleanup_level (tree);
 extern void finish_scope                        (void);
-extern void add_block_current_level		(tree);
 extern void push_switch				(tree);
 extern void pop_switch				(void);
 extern tree pushtag				(tree, tree, int);
@@ -3763,7 +3760,6 @@ extern tree push_using_decl             
 extern tree declare_local_label                 (tree);
 extern tree define_label			(location_t, tree);
 extern void check_goto				(tree);
-extern void define_case_label			(void);
 extern tree make_typename_type			(tree, tree, enum tag_types, tsubst_flags_t);
 extern tree make_unbound_class_template		(tree, tree, tree, tsubst_flags_t);
 extern tree check_for_out_of_scope_variable     (tree);
@@ -3773,7 +3769,6 @@ extern tree build_cp_library_fn_ptr		(co
 extern tree push_library_fn			(tree, tree);
 extern tree push_void_library_fn		(tree, tree);
 extern tree push_throw_library_fn		(tree, tree);
-extern int init_type_desc			(void);
 extern tree check_tag_decl			(cp_decl_specifier_seq *);
 extern tree shadow_tag				(cp_decl_specifier_seq *);
 extern tree groktypename			(cp_decl_specifier_seq *, const cp_declarator *);
@@ -3812,7 +3807,6 @@ extern void fixup_anonymous_aggr        
 extern int check_static_variable_definition     (tree, tree);
 extern tree compute_array_index_type		(tree, tree);
 extern tree check_default_argument              (tree, tree);
-extern int sigtable_decl_p                      (tree, void *);
 typedef int (*walk_namespaces_fn)               (tree, void *);
 extern int walk_namespaces                      (walk_namespaces_fn,
 						       void *);
@@ -3852,10 +3846,8 @@ extern tree check_classfn (tree, tree, t
 extern void check_member_template (tree);
 extern tree grokfield (const cp_declarator *, cp_decl_specifier_seq *, tree, tree, tree);
 extern tree grokbitfield (const cp_declarator *, cp_decl_specifier_seq *, tree);
-extern tree groktypefield			(tree, tree);
 extern void cplus_decl_attributes (tree *, tree, int);
 extern void finish_anon_union (tree);
-extern tree finish_table (tree, tree, tree, int);
 extern void cp_finish_file (void);
 extern tree coerce_new_type (tree);
 extern tree coerce_delete_type (tree);
@@ -3898,11 +3890,8 @@ extern void print_instantiation_context 
 extern void init_exception_processing		(void);
 extern tree expand_start_catch_block		(tree);
 extern void expand_end_catch_block		(void);
-extern void expand_builtin_throw		(void);
-extern void expand_exception_blocks		(void);
 extern tree build_exc_ptr			(void);
 extern tree build_throw				(tree);
-extern void mark_all_runtime_matches            (void);
 extern int nothrow_libfn_p			(tree);
 extern void check_handlers			(tree);
 extern void choose_personality_routine		(enum languages);
@@ -3943,12 +3932,8 @@ extern tree integral_constant_value 		(t
 /* in lex.c */
 extern void cxx_dup_lang_specific_decl		(tree);
-extern void print_parse_statistics		(void);
-extern void do_pending_inlines			(void);
 extern void yyungetc				(int, int);
-extern void snarf_method			(tree);
-extern void see_typename			(void);
 extern tree unqualified_name_lookup_error       (tree);
 extern tree unqualified_fn_lookup_error         (tree);
 extern tree build_lang_decl			(enum tree_code, tree, tree);
@@ -4086,7 +4071,6 @@ extern bool at_class_scope_p            
 extern bool at_namespace_scope_p                (void);
 extern tree context_for_name_lookup		(tree);
 extern tree lookup_conversions			(tree);
-extern tree binfo_for_vtable			(tree);
 extern tree binfo_from_vbase			(tree);
 extern tree binfo_for_vbase			(tree, tree);
 extern tree look_for_overrides_here		(tree, tree);
@@ -4151,7 +4135,6 @@ extern void finish_function_handler_sequ
 extern void finish_cleanup_try_block            (tree);
 extern tree begin_handler                       (void);
 extern void finish_handler_parms                (tree, tree);
-extern void begin_catch_block                   (tree);
 extern void finish_handler                      (tree);
 extern void finish_cleanup                      (tree, tree);
@@ -4166,7 +4149,6 @@ extern void finish_compound_stmt        
 extern tree finish_asm_stmt                     (int, tree, tree, tree, tree);
 extern tree finish_label_stmt                   (tree);
 extern void finish_label_decl                   (tree);
-extern void finish_subobject                    (tree);
 extern tree finish_parenthesized_expr           (tree);
 extern tree finish_non_static_data_member       (tree, tree, tree);
 extern tree begin_stmt_expr                     (void);
@@ -4184,7 +4166,6 @@ extern void finish_translation_unit     
 extern tree finish_template_type_parm           (tree, tree);
 extern tree finish_template_template_parm       (tree, tree);
 extern tree begin_class_definition              (tree);
-extern void finish_default_args                 (void);
 extern void finish_template_decl                (tree);
 extern tree finish_template_type                (tree, tree, int);
 extern tree finish_base_specifier               (tree, tree, bool);
@@ -4198,10 +4179,7 @@ extern tree finish_typeof			(tree);
 extern void finish_decl_cleanup                 (tree, tree);
 extern void finish_eh_cleanup                   (tree);
 extern void expand_body                         (tree);
-extern void cxx_expand_function_start		(void);
 extern void finish_mem_initializers             (tree);
-extern void setup_vtbl_ptr			(tree, tree);
-extern void clear_out_block                     (void);
 extern tree check_template_template_default_arg (tree);
 extern void expand_or_defer_fn			(tree);
 extern void check_accessibility_of_qualified_id (tree, tree, tree);
@@ -4231,7 +4209,6 @@ extern tree build_min_nt			(enum tree_co
 extern tree build_min_non_dep			(enum tree_code, tree, ...);
 extern tree build_cplus_new			(tree, tree);
 extern tree get_target_expr			(tree);
-extern tree build_cplus_staticfn_type		(tree, tree, tree);
 extern tree build_cplus_array_type		(tree, tree);
 extern tree hash_tree_cons			(tree, tree, tree);
 extern tree hash_tree_chain			(tree, tree);
@@ -4239,8 +4216,6 @@ extern int is_overloaded_fn			(tree);
 extern tree get_first_fn			(tree);
 extern tree ovl_cons                            (tree, tree);
 extern tree build_overload                      (tree, tree);
-extern tree function_arg_chain			(tree);
-extern int promotes_to_aggr_type		(tree, enum tree_code);
 extern const char *cxx_printable_name		(tree, int);
 extern tree build_exception_variant		(tree, tree);
 extern tree bind_template_template_parm		(tree, tree);
Index: name-lookup.h
RCS file: /cvs/gcc/gcc/gcc/cp/name-lookup.h,v
retrieving revision 1.35
diff -u -d -p -r1.35 name-lookup.h
--- name-lookup.h	5 Jan 2005 10:02:16 -0000	1.35
+++ name-lookup.h	19 Jan 2005 15:23:16 -0000
@@ -325,7 +325,6 @@ extern void push_local_binding (tree, tr
 extern bool pushdecl_class_level (tree);
 extern tree pushdecl_namespace_level (tree);
 extern bool push_class_level_binding (tree, tree);
-extern void storetags (tree);
 extern tree getdecls (void);
 extern tree cp_namespace_decls (tree);
 extern void set_decl_namespace (tree, tree, bool);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]