From: Kazu Hirata Date: Mon, 8 Nov 2004 19:03:17 +0000 (+0000) Subject: calls.c (split_complex_values, [...]): Make them static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f2b4a02c7e73283f22625c2e0b6831c80789f83;p=gcc.git calls.c (split_complex_values, [...]): Make them static. * calls.c (split_complex_values, split_complex_types): Make them static. * expr.h: Remove the corresponding prototypes. From-SVN: r90281 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 711afc566e8..748e16b8c00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-11-08 Kazu Hirata + + * calls.c (split_complex_values, split_complex_types): Make + them static. + * expr.h: Remove the corresponding prototypes. + 2004-11-08 Richard Earnshaw * arm.c (arm_handle_notshared_attribute): Wrap declaration and use diff --git a/gcc/calls.c b/gcc/calls.c index 09c24d7c27b..cfcf01cf467 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -145,6 +145,8 @@ static int check_sibcall_argument_overlap (rtx, struct arg_data *, int); static int combine_pending_stack_adjustment_and_call (int, struct args_size *, unsigned int); static bool shift_returned_value (tree, rtx *); +static tree split_complex_values (tree); +static tree split_complex_types (tree); #ifdef REG_PARM_STACK_SPACE static rtx save_fixed_argument_area (int, rtx, int *, int *); @@ -3023,7 +3025,7 @@ fixup_tail_calls (void) /* Traverse an argument list in VALUES and expand all complex arguments into their components. */ -tree +static tree split_complex_values (tree values) { tree p; @@ -3077,7 +3079,7 @@ split_complex_values (tree values) /* Traverse a list of TYPES and expand all complex types into their components. */ -tree +static tree split_complex_types (tree types) { tree p; diff --git a/gcc/expr.h b/gcc/expr.h index ec5f9431714..fbb34a6d734 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -188,9 +188,6 @@ do { \ #define FUNCTION_ARG_PARTIAL_NREGS(CUM, MODE, TYPE, NAMED) 0 #endif -tree split_complex_types (tree); -tree split_complex_values (tree); - /* Supply a default definition of STACK_SAVEAREA_MODE for emit_stack_save. Normally move_insn, so Pmode stack pointer. */