aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 19:03:17 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-08 19:03:17 +0000
commit2f2b4a02c7e73283f22625c2e0b6831c80789f83 (patch)
treea14a4c1b65582bd1b5e47a5575f30beb26f0b4e4
parent513305f1598cc0bbb73e892e4d272a592f2d08c3 (diff)
downloadgcc-2f2b4a02c7e73283f22625c2e0b6831c80789f83.zip
gcc-2f2b4a02c7e73283f22625c2e0b6831c80789f83.tar.gz
gcc-2f2b4a02c7e73283f22625c2e0b6831c80789f83.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/calls.c6
-rw-r--r--gcc/expr.h3
3 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 711afc5..748e16b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+
+ * calls.c (split_complex_values, split_complex_types): Make
+ them static.
+ * expr.h: Remove the corresponding prototypes.
+
2004-11-08 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_handle_notshared_attribute): Wrap declaration and use
diff --git a/gcc/calls.c b/gcc/calls.c
index 09c24d7..cfcf01c 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 ec5f943..fbb34a6 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. */