diff options
author | Steven Bosscher <stevenb@suse.de> | 2003-12-05 09:38:33 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2003-12-05 09:38:33 +0000 |
commit | 7f68264126275b5431f08948e4595b6402593efa (patch) | |
tree | 14d790c71f3bba4b331dbcc946efd23613e3f870 /gcc/config/ns32k | |
parent | 6429bc7c3ec8047e384ee49b6d892ac18394e6b6 (diff) | |
download | gcc-7f68264126275b5431f08948e4595b6402593efa.zip gcc-7f68264126275b5431f08948e4595b6402593efa.tar.gz gcc-7f68264126275b5431f08948e4595b6402593efa.tar.bz2 |
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/ns32k')
-rw-r--r-- | gcc/config/ns32k/ns32k-protos.h | 32 | ||||
-rw-r--r-- | gcc/config/ns32k/ns32k.c | 16 |
2 files changed, 24 insertions, 24 deletions
diff --git a/gcc/config/ns32k/ns32k-protos.h b/gcc/config/ns32k/ns32k-protos.h index 9700a03..b5a2328 100644 --- a/gcc/config/ns32k/ns32k-protos.h +++ b/gcc/config/ns32k/ns32k-protos.h @@ -22,24 +22,24 @@ Boston, MA 02111-1307, USA. */ /* Prototypes for functions in ns32k.c */ #ifdef RTX_CODE -extern enum reg_class secondary_reload_class PARAMS ((enum reg_class, - enum machine_mode, rtx)); -extern int reg_or_mem_operand PARAMS ((rtx, enum machine_mode)); - -extern void split_di PARAMS ((rtx[], int, rtx[], rtx[])); -extern void expand_block_move PARAMS ((rtx[])); -extern int global_symbolic_reference_mentioned_p PARAMS ((rtx, int)); -extern void print_operand PARAMS ((FILE *, rtx, int)); -extern void print_operand_address PARAMS ((FILE *, rtx)); -extern const char *output_move_double PARAMS ((rtx *)); -extern const char *output_shift_insn PARAMS ((rtx *)); -extern int symbolic_reference_mentioned_p PARAMS ((rtx)); +extern enum reg_class secondary_reload_class (enum reg_class, + enum machine_mode, rtx); +extern int reg_or_mem_operand (rtx, enum machine_mode); + +extern void split_di (rtx[], int, rtx[], rtx[]); +extern void expand_block_move (rtx[]); +extern int global_symbolic_reference_mentioned_p (rtx, int); +extern void print_operand (FILE *, rtx, int); +extern void print_operand_address (FILE *, rtx); +extern const char *output_move_double (rtx *); +extern const char *output_shift_insn (rtx *); +extern int symbolic_reference_mentioned_p (rtx); #endif /* RTX_CODE */ #ifdef TREE_CODE -extern int ns32k_return_pops_args PARAMS ((tree, tree, int)); +extern int ns32k_return_pops_args (tree, tree, int); #endif /* TREE_CODE */ -extern int hard_regno_mode_ok PARAMS ((int, enum machine_mode)); -extern int register_move_cost PARAMS ((enum reg_class, enum reg_class)); -extern const char *output_move_dconst PARAMS ((int, const char *)); +extern int hard_regno_mode_ok (int, enum machine_mode); +extern int register_move_cost (enum reg_class, enum reg_class); +extern const char *output_move_dconst (int, const char *); diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index bd4b561..3573b71 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -64,15 +64,15 @@ const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER] = static const char *const ns32k_out_reg_names[] = OUTPUT_REGISTER_NAMES; -static rtx gen_indexed_expr PARAMS ((rtx, rtx, rtx)); -static const char *singlemove_string PARAMS ((rtx *)); -static void move_tail PARAMS ((rtx[], int, int)); -static tree ns32k_handle_fntype_attribute PARAMS ((tree *, tree, tree, int, bool *)); +static rtx gen_indexed_expr (rtx, rtx, rtx); +static const char *singlemove_string (rtx *); +static void move_tail (rtx[], int, int); +static tree ns32k_handle_fntype_attribute (tree *, tree, tree, int, bool *); const struct attribute_spec ns32k_attribute_table[]; -static void ns32k_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void ns32k_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static bool ns32k_rtx_costs PARAMS ((rtx, int, int, int *)); -static int ns32k_address_cost PARAMS ((rtx)); +static void ns32k_output_function_prologue (FILE *, HOST_WIDE_INT); +static void ns32k_output_function_epilogue (FILE *, HOST_WIDE_INT); +static bool ns32k_rtx_costs (rtx, int, int, int *); +static int ns32k_address_cost (rtx); /* Initialize the GCC target structure. */ #undef TARGET_ATTRIBUTE_TABLE |