]> gcc.gnu.org Git - gcc.git/commitdiff
sparc-protos.h (sparc_va_arg): Remove.
authorRichard Henderson <rth@redhat.com>
Fri, 9 Jul 2004 10:04:34 +0000 (03:04 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 9 Jul 2004 10:04:34 +0000 (03:04 -0700)
        * config/sparc/sparc-protos.h (sparc_va_arg): Remove.
        * config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static.

From-SVN: r84356

gcc/ChangeLog
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.c

index e21729b8f653028dd9bb698427ec7b38e5fafc5b..079dc6b9bf43dd5f381dbdc714ef7ba0265803f2 100644 (file)
@@ -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.
index fc3e17fdda2950375957b71026881e0ccfdae58f..8a541b3f3aff88bb4d7d2319c7786477c1cf8e65 100644 (file)
@@ -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' */
index cfaa34aaaae73bdec27627ccdaedfdc93a9721bd..435c9033537791bb4202049ba2d8022ba64fa3e6 100644 (file)
@@ -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;
This page took 0.082889 seconds and 5 git commands to generate.