From 6fe79279b75e0e1bc82d7eb56a3d8fa15aac18e2 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 9 Nov 2004 19:19:41 +0000 Subject: [PATCH] function.c (combine_temp_slots, [...]): Make them static. * function.c (combine_temp_slots, assign_parms, expand_pending_sizes): Make them static. * tree.h: Remove the corresponding prototypes. From-SVN: r90357 --- gcc/ChangeLog | 6 ++++++ gcc/function.c | 6 +++--- gcc/tree.h | 3 --- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3333159014b..cc67fe2c264 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-11-09 Kazu Hirata + + * function.c (combine_temp_slots, assign_parms, + expand_pending_sizes): Make them static. + * tree.h: Remove the corresponding prototypes. + 2004-11-09 Kazu Hirata * emit-rtl.c (copy_most_rtx): Remove. diff --git a/gcc/function.c b/gcc/function.c index 82776e7cd7a..338ad967491 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -850,7 +850,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, done for BLKmode slots because we can be sure that we won't have alignment problems in this case. */ -void +static void combine_temp_slots (void) { struct temp_slot *p, *q, *next, *next_q; @@ -3011,7 +3011,7 @@ assign_parms_unsplit_complex (tree orig_fnargs, tree fnargs) /* Assign RTL expressions to the function's parameters. This may involve copying them into registers and using those registers as the DECL_RTL. */ -void +static void assign_parms (tree fndecl) { struct assign_parm_data_all all; @@ -3970,7 +3970,7 @@ expand_main_function (void) for the current function. The PENDING_SIZES are a TREE_LIST. The TREE_VALUE of each node is a SAVE_EXPR. */ -void +static void expand_pending_sizes (tree pending_sizes) { tree tem; diff --git a/gcc/tree.h b/gcc/tree.h index 7b26c5df6a9..2482b9db831 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -3584,7 +3584,6 @@ extern int simple_cst_list_equal (tree, tree); extern void dump_tree_statistics (void); extern void expand_function_end (void); extern void expand_function_start (tree); -extern void expand_pending_sizes (tree); extern void recompute_tree_invarant_for_addr_expr (tree); extern bool is_global_var (tree t); extern bool needs_to_live_in_memory (tree); @@ -3613,11 +3612,9 @@ extern void init_function_for_compilation (void); extern void allocate_struct_function (tree); extern void init_function_start (tree); extern bool use_register_for_decl (tree); -extern void assign_parms (tree); extern void setjmp_vars_warning (tree); extern void setjmp_args_warning (void); extern void init_temp_slots (void); -extern void combine_temp_slots (void); extern void free_temp_slots (void); extern void pop_temp_slots (void); extern void push_temp_slots (void); -- 2.30.2