OSDN Git Service

* function.c (combine_temp_slots, assign_parms,
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 19:19:41 +0000 (19:19 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 19:19:41 +0000 (19:19 +0000)
expand_pending_sizes): Make them static.
* tree.h: Remove the corresponding prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90357 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/function.c
gcc/tree.h

index 3333159..cc67fe2 100644 (file)
@@ -1,5 +1,11 @@
 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * function.c (combine_temp_slots, assign_parms,
+       expand_pending_sizes): Make them static.
+       * tree.h: Remove the corresponding prototypes.
+
+2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
+
        * emit-rtl.c (copy_most_rtx): Remove.
        * rtl.h: Remove the corresponding prototype.
 
index 82776e7..338ad96 100644 (file)
@@ -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;
index 7b26c5d..2482b9d 100644 (file)
@@ -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);