sparc.c (init_cumulative_args): Fix type of third arg.

1999-11-29  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (init_cumulative_args): Fix type of third
	arg.
	* config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.

From-SVN: r30695
This commit is contained in:
David S. Miller 1999-11-29 00:07:23 -08:00 committed by David S. Miller
parent 46984a9abc
commit 8843045335
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
1999-11-29 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (init_cumulative_args): Fix type of third
arg.
* config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
1999-11-28 Robert Lipe <robertl@cygnus.com>
* i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn

View File

@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA. */
#ifdef TREE_CODE
extern struct rtx_def *function_value PARAMS ((tree, enum machine_mode, int));
extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, tree, int));
extern void function_arg_advance PARAMS ((CUMULATIVE_ARGS *,
enum machine_mode, tree, int));
extern struct rtx_def *function_arg PARAMS ((const CUMULATIVE_ARGS *,
@ -40,6 +39,7 @@ extern int function_arg_pass_by_reference PARAMS ((const CUMULATIVE_ARGS *,
tree, int));
extern struct rtx_def *sparc_builtin_saveregs PARAMS ((void));
#ifdef RTX_CODE
extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx, int));
extern void sparc_va_start PARAMS ((int, tree, rtx));
#endif
extern struct rtx_def *sparc_va_arg PARAMS ((tree, tree));

View File

@ -3453,7 +3453,7 @@ void
init_cumulative_args (cum, fntype, libname, indirect)
CUMULATIVE_ARGS *cum;
tree fntype;
tree libname ATTRIBUTE_UNUSED;
rtx libname ATTRIBUTE_UNUSED;
int indirect ATTRIBUTE_UNUSED;
{
cum->words = 0;