From 32f2c8ec4a9e2056720d94d81624bf6975ef7221 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 14 Jan 2005 17:53:28 +0000 Subject: [PATCH] * c-tree.h, coverage.h, langhooks-def.h, optabs.h, output.h, rtl.h, targhooks.h, tree-flow.h, tree-mudflap.h, tree.h: Remove unused prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93651 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/c-tree.h | 1 - gcc/coverage.h | 1 - gcc/langhooks-def.h | 2 -- gcc/optabs.h | 5 ----- gcc/output.h | 4 ---- gcc/rtl.h | 5 ----- gcc/targhooks.h | 2 -- gcc/tree-flow.h | 1 - gcc/tree-mudflap.h | 2 -- gcc/tree.h | 5 ----- 11 files changed, 6 insertions(+), 28 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d79d9c00623..5a7ade33316 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-01-14 Kazu Hirata + + * c-tree.h, coverage.h, langhooks-def.h, optabs.h, output.h, + rtl.h, targhooks.h, tree-flow.h, tree-mudflap.h, tree.h: + Remove unused prototypes. + 2005-01-14 Aldy Hernandez * config/rs6000/rs6000.c (rs6000_stack_info): Fix caching of SPE diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 43001ca0aa5..f684e13bd8e 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -434,7 +434,6 @@ extern int c_cannot_inline_tree_fn (tree *); extern bool c_objc_common_init (void); extern bool c_missing_noreturn_ok_p (tree); extern tree c_objc_common_truthvalue_conversion (tree expr); -extern int defer_fn (tree); extern bool c_warn_unused_global_decl (tree); extern void c_initialize_diagnostics (diagnostic_context *); diff --git a/gcc/coverage.h b/gcc/coverage.h index 35a9f8f82e4..36b370a29ac 100644 --- a/gcc/coverage.h +++ b/gcc/coverage.h @@ -26,7 +26,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA extern void coverage_init (const char *); extern void coverage_finish (void); -extern void coverage_read_counts_file (void); /* Complete the coverage information for the current function. Once per function. */ diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h index d036d84d481..f91d4312714 100644 --- a/gcc/langhooks-def.h +++ b/gcc/langhooks-def.h @@ -67,8 +67,6 @@ extern void lhd_register_builtin_type (tree, const char *); extern bool lhd_decl_ok_for_sibcall (tree); extern const char *lhd_comdat_group (tree); extern tree lhd_expr_size (tree); -extern bool lhd_decl_uninit (tree); -extern tree lhd_get_callee_fndecl (tree); extern size_t lhd_tree_size (enum tree_code); /* Declarations of default tree inlining hooks. */ diff --git a/gcc/optabs.h b/gcc/optabs.h index a5942da7cd6..539c94ba8a2 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -488,11 +488,6 @@ extern enum insn_code can_extend_p (enum machine_mode, enum machine_mode, int); extern rtx gen_extend_insn (rtx, rtx, enum machine_mode, enum machine_mode, int); -/* Initialize the tables that control conversion between fixed and - floating values. */ -extern void init_fixtab (void); -extern void init_floattab (void); - /* Call this to reset the function entry for one optab. */ extern void set_optab_libfunc (optab, enum machine_mode, const char *); extern void set_conv_libfunc (convert_optab, enum machine_mode, diff --git a/gcc/output.h b/gcc/output.h index b014b2321f4..a5d5418d29a 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -144,10 +144,6 @@ extern void leaf_renumber_regs_insn (rtx); /* Locate the proper template for the given insn-code. */ extern const char *get_insn_template (int, rtx); -/* Add function NAME to the weak symbols list. VALUE is a weak alias - associated with NAME. */ -extern int add_weak (tree, const char *, const char *); - /* Functions in flow.c */ extern int regno_clobbered_at_setjmp (int); diff --git a/gcc/rtl.h b/gcc/rtl.h index 364c0a2bafb..52aef454ef6 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2060,7 +2060,6 @@ extern void init_reg_modes_once (void); extern void init_regs (void); extern void init_fake_stack_mems (void); extern void init_reg_sets (void); -extern void regset_release_memory (void); extern void regclass_init (void); extern void regclass (rtx, int, FILE *); extern void reg_scan (rtx, unsigned int, int); @@ -2108,15 +2107,11 @@ extern void emit_library_call (rtx, enum libcall_type, enum machine_mode, int, extern rtx emit_library_call_value (rtx, rtx, enum libcall_type, enum machine_mode, int, ...); -/* In unroll.c */ -extern int set_dominates_use (int, int, int, rtx, rtx); - /* In varasm.c */ extern int in_data_section (void); extern void init_varasm_once (void); /* In rtl.c */ -extern void init_rtl (void); extern void traverse_md_constants (int (*) (void **, void *), void *); struct md_constant { char *name, *value; }; diff --git a/gcc/targhooks.h b/gcc/targhooks.h index 9c0b173c05c..fb16245d30c 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -46,8 +46,6 @@ extern void default_unwind_emit (FILE *, rtx); extern bool default_scalar_mode_supported_p (enum machine_mode); -extern bool default_vect_misaligned_mem_ok (enum machine_mode); - /* These are here, and not in hooks.[ch], because not all users of hooks.h include tm.h, and thus we don't have CUMULATIVE_ARGS. */ diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 04d3c5ab253..7dc809c256c 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -572,7 +572,6 @@ DEF_VEC_MALLOC_P (tree_on_heap); /* In tree-ssa.c */ extern void init_tree_ssa (void); -extern void debug_reaching_defs (void); extern void dump_tree_ssa (FILE *); extern void debug_tree_ssa (void); extern void debug_def_blocks (void); diff --git a/gcc/tree-mudflap.h b/gcc/tree-mudflap.h index 554bf6263f9..ace8263bcf3 100644 --- a/gcc/tree-mudflap.h +++ b/gcc/tree-mudflap.h @@ -24,8 +24,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* Instrumentation. */ extern void mudflap_init (void); -extern void mudflap_c_function_decls (tree); -extern void mudflap_c_function_ops (tree); extern void mudflap_enqueue_decl (tree); extern void mudflap_enqueue_constant (tree); extern void mudflap_finish_file (void); diff --git a/gcc/tree.h b/gcc/tree.h index 400148c94d5..f3410c6de6f 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2991,7 +2991,6 @@ enum attribute_flags extern tree merge_decl_attributes (tree, tree); extern tree merge_type_attributes (tree, tree); -extern void default_register_cpp_builtins (struct cpp_reader *); /* Given a tree node and a string, return nonzero if the tree node is a valid attribute name for the string. */ @@ -3439,7 +3438,6 @@ extern void change_decl_assembler_name (tree, tree); extern int type_num_arguments (tree); extern bool associative_tree_code (enum tree_code); extern bool commutative_tree_code (enum tree_code); -extern tree get_case_label (tree); extern tree upper_bound_in_type (tree, tree); extern tree lower_bound_in_type (tree, tree); extern int operand_equal_for_phi_arg_p (tree, tree); @@ -3632,9 +3630,6 @@ extern bool debug_find_tree (tree, tree); data structures from the inliner. */ extern tree unsave_expr_now (tree); -/* In expr.c */ -extern void check_max_integer_computation_mode (tree); - /* In emit-rtl.c */ extern rtx emit_line_note (location_t); -- 2.11.4.GIT