summaryrefslogtreecommitdiff
path: root/gcc/config/fr30
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2003-12-05 09:38:33 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2003-12-05 09:38:33 +0000
commit7f68264126275b5431f08948e4595b6402593efa (patch)
tree14d790c71f3bba4b331dbcc946efd23613e3f870 /gcc/config/fr30
parent6429bc7c3ec8047e384ee49b6d892ac18394e6b6 (diff)
downloadgcc-7f68264126275b5431f08948e4595b6402593efa.tar.gz
d30v-protos.h [...]: Convert to ISO C90 function declarations and definitions.
2003-12-05 Steven Bosscher <stevenb@suse.de> * config/d30v/d30v-protos.h , config/d30v/d30v.c, config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, config/fr30/fr30-protos.h, config/fr30/fr30.c, config/i370/i370-protos.h, config/i370/i370.c, config/i960/i960-protos.h, config/i960/i960.c, config/ip2k/ip2k-protos.h, config/ip2k/ip2k.c, config/m32r/m32r-protos.h, config/m32r/m32r.c, config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c, config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c: Convert to ISO C90 function declarations and definitions. See ChangeLog.9 for earlier changes. From-SVN: r74316
Diffstat (limited to 'gcc/config/fr30')
-rw-r--r--gcc/config/fr30/fr30-protos.h38
-rw-r--r--gcc/config/fr30/fr30.c4
2 files changed, 21 insertions, 21 deletions
diff --git a/gcc/config/fr30/fr30-protos.h b/gcc/config/fr30/fr30-protos.h
index c08b6639aa8..a7119042dd5 100644
--- a/gcc/config/fr30/fr30-protos.h
+++ b/gcc/config/fr30/fr30-protos.h
@@ -18,34 +18,34 @@ along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-extern void fr30_expand_prologue PARAMS ((void));
-extern void fr30_expand_epilogue PARAMS ((void));
-extern unsigned int fr30_compute_frame_size PARAMS ((int, int));
+extern void fr30_expand_prologue (void);
+extern void fr30_expand_epilogue (void);
+extern unsigned int fr30_compute_frame_size (int, int);
#ifdef RTX_CODE
-extern int fr30_check_multiple_regs PARAMS ((rtx *, int, int));
-extern void fr30_print_operand PARAMS ((FILE *, rtx, int));
-extern void fr30_print_operand_address PARAMS ((FILE *, rtx));
-extern rtx fr30_move_double PARAMS ((rtx *));
+extern int fr30_check_multiple_regs (rtx *, int, int);
+extern void fr30_print_operand (FILE *, rtx, int);
+extern void fr30_print_operand_address (FILE *, rtx);
+extern rtx fr30_move_double (rtx *);
#ifdef TREE_CODE
-extern rtx fr30_va_arg PARAMS ((tree, tree));
+extern rtx fr30_va_arg (tree, tree);
#endif /* TREE_CODE */
#ifdef HAVE_MACHINE_MODES
#define Mmode enum machine_mode
-extern int stack_add_operand PARAMS ((rtx, Mmode));
-extern int add_immediate_operand PARAMS ((rtx, Mmode));
-extern int high_register_operand PARAMS ((rtx, Mmode));
-extern int low_register_operand PARAMS ((rtx, Mmode));
-extern int call_operand PARAMS ((rtx, Mmode));
-extern int di_operand PARAMS ((rtx, Mmode));
-extern int nonimmediate_di_operand PARAMS ((rtx, Mmode));
-extern int fr30_const_double_is_zero PARAMS ((rtx));
+extern int stack_add_operand (rtx, Mmode);
+extern int add_immediate_operand (rtx, Mmode);
+extern int high_register_operand (rtx, Mmode);
+extern int low_register_operand (rtx, Mmode);
+extern int call_operand (rtx, Mmode);
+extern int di_operand (rtx, Mmode);
+extern int nonimmediate_di_operand (rtx, Mmode);
+extern int fr30_const_double_is_zero (rtx);
#undef Mmode
#endif /* HAVE_MACHINE_MODES */
#endif /* RTX_CODE */
#ifdef TREE_CODE
-extern int fr30_num_arg_regs PARAMS ((int, tree));
-extern int fr30_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS, int, tree, int));
-extern void fr30_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS, int, tree, int *));
+extern int fr30_num_arg_regs (int, tree);
+extern int fr30_function_arg_partial_nregs (CUMULATIVE_ARGS, int, tree, int);
+extern void fr30_setup_incoming_varargs (CUMULATIVE_ARGS, int, tree, int *);
#endif /* TREE_CODE */
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index 4d5f12e719b..0b83dac2665 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -120,8 +120,8 @@ static struct fr30_frame_info current_frame_info;
/* Zero structure to initialize current_frame_info. */
static struct fr30_frame_info zero_frame_info;
-static rtx fr30_pass_by_reference PARAMS ((tree, tree));
-static rtx fr30_pass_by_value PARAMS ((tree, tree));
+static rtx fr30_pass_by_reference (tree, tree);
+static rtx fr30_pass_by_value (tree, tree);
#define FRAME_POINTER_MASK (1 << (FRAME_POINTER_REGNUM))
#define RETURN_POINTER_MASK (1 << (RETURN_POINTER_REGNUM))