diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-09 03:04:34 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-09 03:04:34 -0700 |
commit | 35652573d3b56136017403f497dd9ced8a22ab18 (patch) | |
tree | dd26d044db9f3f89368e72632b42950589db77d8 /gcc | |
parent | 5fac2ed26b38e2c701447c8e72e02e1ac1653397 (diff) | |
download | gcc-35652573d3b56136017403f497dd9ced8a22ab18.zip gcc-35652573d3b56136017403f497dd9ced8a22ab18.tar.gz gcc-35652573d3b56136017403f497dd9ced8a22ab18.tar.bz2 |
sparc-protos.h (sparc_va_arg): Remove.
* config/sparc/sparc-protos.h (sparc_va_arg): Remove.
* config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static.
From-SVN: r84356
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/sparc/sparc-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e21729b..079dc6b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-07-09 Richard Henderson <rth@redhat.com> + * config/sparc/sparc-protos.h (sparc_va_arg): Remove. + * config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static. + * config/sh/sh-protos.h (sh_va_arg): Remove. * config/sh/sh.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New. (sh_gimplify_va_arg_expr): Rewrite from sh_va_arg. diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h index fc3e17f..8a541b3 100644 --- a/gcc/config/sparc/sparc-protos.h +++ b/gcc/config/sparc/sparc-protos.h @@ -38,7 +38,6 @@ extern int function_arg_pass_by_reference (const CUMULATIVE_ARGS *, extern void init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree); extern void sparc_va_start (tree, rtx); #endif -extern struct rtx_def *sparc_va_arg (tree, tree); extern unsigned long sparc_type_code (tree); #ifdef ARGS_SIZE_RTX /* expr.h defines ARGS_SIZE_RTX and `enum direction' */ diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index cfaa34a..435c903 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -5816,7 +5816,7 @@ sparc_va_start (tree valist, rtx nextarg) /* Implement `va_arg' for stdarg. */ -tree +static tree sparc_gimplify_va_arg (tree valist, tree type, tree *pre_p, tree *post_p) { HOST_WIDE_INT size, rsize, align; |