From: Richard Henderson Date: Fri, 9 Jul 2004 10:04:34 +0000 (-0700) Subject: sparc-protos.h (sparc_va_arg): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35652573d3b56136017403f497dd9ced8a22ab18;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e21729b8f65..079dc6b9bf4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-07-09 Richard Henderson + * 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 fc3e17fdda2..8a541b3f3af 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 cfaa34aaaae..435c9033537 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;