From 8202c8c4e940420fcbed15cf0397323e9131e15a Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Tue, 13 Aug 2002 16:52:27 +0000 Subject: [PATCH] sh.c (sh_init_builtins): Add PARAMS to declaration. * sh.c (sh_init_builtins): Add PARAMS to declaration. (sh_media_init_builtins, sh_expand_builtin): Likewise. (sh_expand_unop_v2sf): Use PARAMS for variable declaration. (sh_expand_binop_v2sf): Likewise. * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration. (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise. (sh_initialize_trampoline): Likewise. From-SVN: r56259 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/sh/sh-protos.h | 8 ++++---- gcc/config/sh/sh.c | 10 +++++----- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97917790b130..cd38b3c95040 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +Tue Aug 13 17:40:25 2002 J"orn Rennecke + + * sh.c (sh_init_builtins): Add PARAMS to declaration. + (sh_media_init_builtins, sh_expand_builtin): Likewise. + (sh_expand_unop_v2sf): Use PARAMS for variable declaration. + (sh_expand_binop_v2sf): Likewise. + * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration. + (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise. + (sh_initialize_trampoline): Likewise. + 2002-08-13 Ulrich Weigand * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h index a46a3270c452..a2152efa2f41 100644 --- a/gcc/config/sh/sh-protos.h +++ b/gcc/config/sh/sh-protos.h @@ -100,8 +100,8 @@ extern void expand_df_binop PARAMS ((rtx (*)(rtx, rtx, rtx, rtx), rtx *)); extern void expand_fp_branch PARAMS ((rtx (*)(void), rtx (*)(void))); extern int sh_insn_length_adjustment PARAMS ((rtx)); extern int sh_can_redirect_branch PARAMS ((rtx, rtx)); -extern void sh_expand_unop_v2sf (enum rtx_code, rtx, rtx); -extern void sh_expand_binop_v2sf (enum rtx_code, rtx, rtx, rtx); +extern void sh_expand_unop_v2sf PARAMS ((enum rtx_code, rtx, rtx)); +extern void sh_expand_binop_v2sf PARAMS ((enum rtx_code, rtx, rtx, rtx)); #ifdef TREE_CODE extern void sh_va_start PARAMS ((tree, rtx)); extern rtx sh_va_arg PARAMS ((tree, tree)); @@ -124,8 +124,8 @@ extern int initial_elimination_offset PARAMS ((int, int)); extern int fldi_ok PARAMS ((void)); extern int sh_pr_n_sets PARAMS ((void)); extern int sh_hard_regno_rename_ok PARAMS ((unsigned int, unsigned int)); -extern int sh_cfun_interrupt_handler_p (void); -extern void sh_initialize_trampoline (rtx, rtx, rtx); +extern int sh_cfun_interrupt_handler_p PARAMS ((void)); +extern void sh_initialize_trampoline PARAMS ((rtx, rtx, rtx)); #ifdef HARD_CONST extern void fpscr_set_from_mem PARAMS ((int, HARD_REG_SET)); diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index c1a4534b577c..3512b970d4d5 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -205,9 +205,9 @@ static bool sh_ms_bitfield_layout_p PARAMS ((tree)); static void sh_encode_section_info PARAMS ((tree, int)); static const char *sh_strip_name_encoding PARAMS ((const char *)); -static void sh_init_builtins (void); -static void sh_media_init_builtins (void); -static rtx sh_expand_builtin (tree, rtx, rtx, enum machine_mode, int); +static void sh_init_builtins PARAMS ((void)); +static void sh_media_init_builtins PARAMS ((void)); +static rtx sh_expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int)); /* Initialize the GCC target structure. */ @@ -7615,7 +7615,7 @@ sh_expand_unop_v2sf (code, op0, op1) { rtx sel0 = const0_rtx; rtx sel1 = const1_rtx; - rtx (*fn) (rtx, rtx, rtx, rtx, rtx) = gen_unary_sf_op; + rtx (*fn) PARAMS ((rtx, rtx, rtx, rtx, rtx)) = gen_unary_sf_op; rtx op = gen_rtx_fmt_e (code, SFmode, op1); emit_insn ((*fn) (op0, op1, op, sel0, sel0)); @@ -7629,7 +7629,7 @@ sh_expand_binop_v2sf (code, op0, op1, op2) { rtx sel0 = const0_rtx; rtx sel1 = const1_rtx; - rtx (*fn) (rtx, rtx, rtx, rtx, rtx, rtx, rtx) = gen_binary_sf_op; + rtx (*fn) PARAMS ((rtx, rtx, rtx, rtx, rtx, rtx, rtx)) = gen_binary_sf_op; rtx op = gen_rtx_fmt_ee (code, SFmode, op1, op2); emit_insn ((*fn) (op0, op1, op2, op, sel0, sel0, sel0)); -- 2.43.5