From: Kaveh R. Ghazi Date: Mon, 17 Jan 2000 16:01:04 +0000 (+0000) Subject: print-rtl.c: PROTO -> PARAMS. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=957e47632b18edc2f802b74087e690185a8423c8;p=platform%2Fupstream%2Fgcc.git print-rtl.c: PROTO -> PARAMS. * print-rtl.c: PROTO -> PARAMS. * real.c: Likewise. * reg-stack.c: Likewise. * resource.c: Likewise. * sdbout.h: Likewise. * simplify-rtx.c: Likewise. * stor-layout.c: Likewise. * stupid.c: Likewise. * xcoffout.c: Likewise. * xcoffout.h: Likewise. From-SVN: r31463 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 949f05a..2334841 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,18 @@ 2000-01-17 Kaveh R. Ghazi + * print-rtl.c: PROTO -> PARAMS. + * real.c: Likewise. + * reg-stack.c: Likewise. + * resource.c: Likewise. + * sdbout.h: Likewise. + * simplify-rtx.c: Likewise. + * stor-layout.c: Likewise. + * stupid.c: Likewise. + * xcoffout.c: Likewise. + * xcoffout.h: Likewise. + +2000-01-17 Kaveh R. Ghazi + * toplev.c: PROTO -> PARAMS. * toplev.h: Likewise. * tree.c: Likewise. diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index e54b2b4..c498a3d 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -52,7 +52,7 @@ static int sawclose = 0; static int indent; -static void print_rtx PROTO ((rtx)); +static void print_rtx PARAMS ((rtx)); /* Nonzero means suppress output of instruction numbers and line number notes in debugging dumps. diff --git a/gcc/real.c b/gcc/real.c index 2ef6d1e1..1fd0e8d 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -340,132 +340,132 @@ extern int extra_warnings; extern unsigned EMUSHORT ezero[], ehalf[], eone[], etwo[]; extern unsigned EMUSHORT elog2[], esqrt2[]; -static void endian PROTO((unsigned EMUSHORT *, long *, +static void endian PARAMS ((unsigned EMUSHORT *, long *, enum machine_mode)); -static void eclear PROTO((unsigned EMUSHORT *)); -static void emov PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void eclear PARAMS ((unsigned EMUSHORT *)); +static void emov PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); #if 0 -static void eabs PROTO((unsigned EMUSHORT *)); -#endif -static void eneg PROTO((unsigned EMUSHORT *)); -static int eisneg PROTO((unsigned EMUSHORT *)); -static int eisinf PROTO((unsigned EMUSHORT *)); -static int eisnan PROTO((unsigned EMUSHORT *)); -static void einfin PROTO((unsigned EMUSHORT *)); -static void enan PROTO((unsigned EMUSHORT *, int)); -static void emovi PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void emovo PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void ecleaz PROTO((unsigned EMUSHORT *)); -static void ecleazs PROTO((unsigned EMUSHORT *)); -static void emovz PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void einan PROTO((unsigned EMUSHORT *)); -static int eiisnan PROTO((unsigned EMUSHORT *)); -static int eiisneg PROTO((unsigned EMUSHORT *)); +static void eabs PARAMS ((unsigned EMUSHORT *)); +#endif +static void eneg PARAMS ((unsigned EMUSHORT *)); +static int eisneg PARAMS ((unsigned EMUSHORT *)); +static int eisinf PARAMS ((unsigned EMUSHORT *)); +static int eisnan PARAMS ((unsigned EMUSHORT *)); +static void einfin PARAMS ((unsigned EMUSHORT *)); +static void enan PARAMS ((unsigned EMUSHORT *, int)); +static void emovi PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void emovo PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void ecleaz PARAMS ((unsigned EMUSHORT *)); +static void ecleazs PARAMS ((unsigned EMUSHORT *)); +static void emovz PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void einan PARAMS ((unsigned EMUSHORT *)); +static int eiisnan PARAMS ((unsigned EMUSHORT *)); +static int eiisneg PARAMS ((unsigned EMUSHORT *)); #if 0 -static void eiinfin PROTO((unsigned EMUSHORT *)); -#endif -static int eiisinf PROTO((unsigned EMUSHORT *)); -static int ecmpm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void eshdn1 PROTO((unsigned EMUSHORT *)); -static void eshup1 PROTO((unsigned EMUSHORT *)); -static void eshdn8 PROTO((unsigned EMUSHORT *)); -static void eshup8 PROTO((unsigned EMUSHORT *)); -static void eshup6 PROTO((unsigned EMUSHORT *)); -static void eshdn6 PROTO((unsigned EMUSHORT *)); -static void eaddm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void esubm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void m16m PROTO((unsigned int, unsigned short *, +static void eiinfin PARAMS ((unsigned EMUSHORT *)); +#endif +static int eiisinf PARAMS ((unsigned EMUSHORT *)); +static int ecmpm PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void eshdn1 PARAMS ((unsigned EMUSHORT *)); +static void eshup1 PARAMS ((unsigned EMUSHORT *)); +static void eshdn8 PARAMS ((unsigned EMUSHORT *)); +static void eshup8 PARAMS ((unsigned EMUSHORT *)); +static void eshup6 PARAMS ((unsigned EMUSHORT *)); +static void eshdn6 PARAMS ((unsigned EMUSHORT *)); +static void eaddm PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void esubm PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void m16m PARAMS ((unsigned int, unsigned short *, unsigned short *)); -static int edivm PROTO((unsigned short *, unsigned short *)); -static int emulm PROTO((unsigned short *, unsigned short *)); -static void emdnorm PROTO((unsigned EMUSHORT *, int, int, EMULONG, int)); -static void esub PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static int edivm PARAMS ((unsigned short *, unsigned short *)); +static int emulm PARAMS ((unsigned short *, unsigned short *)); +static void emdnorm PARAMS ((unsigned EMUSHORT *, int, int, EMULONG, int)); +static void esub PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void eadd PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void eadd PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void eadd1 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void eadd1 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void ediv PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void ediv PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void emul PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void emul PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void e53toe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void e64toe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void e113toe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void e24toe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etoe113 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void toe113 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etoe64 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void toe64 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etoe53 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void toe53 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etoe24 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void toe24 PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static int ecmp PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void e53toe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void e64toe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void e113toe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void e24toe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etoe113 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void toe113 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etoe64 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void toe64 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etoe53 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void toe53 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etoe24 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void toe24 PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static int ecmp PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); #if 0 -static void eround PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void eround PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); #endif -static void ltoe PROTO((HOST_WIDE_INT *, unsigned EMUSHORT *)); -static void ultoe PROTO((unsigned HOST_WIDE_INT *, unsigned EMUSHORT *)); -static void eifrac PROTO((unsigned EMUSHORT *, HOST_WIDE_INT *, +static void ltoe PARAMS ((HOST_WIDE_INT *, unsigned EMUSHORT *)); +static void ultoe PARAMS ((unsigned HOST_WIDE_INT *, unsigned EMUSHORT *)); +static void eifrac PARAMS ((unsigned EMUSHORT *, HOST_WIDE_INT *, unsigned EMUSHORT *)); -static void euifrac PROTO((unsigned EMUSHORT *, unsigned HOST_WIDE_INT *, +static void euifrac PARAMS ((unsigned EMUSHORT *, unsigned HOST_WIDE_INT *, unsigned EMUSHORT *)); -static int eshift PROTO((unsigned EMUSHORT *, int)); -static int enormlz PROTO((unsigned EMUSHORT *)); +static int eshift PARAMS ((unsigned EMUSHORT *, int)); +static int enormlz PARAMS ((unsigned EMUSHORT *)); #if 0 -static void e24toasc PROTO((unsigned EMUSHORT *, char *, int)); -static void e53toasc PROTO((unsigned EMUSHORT *, char *, int)); -static void e64toasc PROTO((unsigned EMUSHORT *, char *, int)); -static void e113toasc PROTO((unsigned EMUSHORT *, char *, int)); +static void e24toasc PARAMS ((unsigned EMUSHORT *, char *, int)); +static void e53toasc PARAMS ((unsigned EMUSHORT *, char *, int)); +static void e64toasc PARAMS ((unsigned EMUSHORT *, char *, int)); +static void e113toasc PARAMS ((unsigned EMUSHORT *, char *, int)); #endif /* 0 */ -static void etoasc PROTO((unsigned EMUSHORT *, char *, int)); -static void asctoe24 PROTO((const char *, unsigned EMUSHORT *)); -static void asctoe53 PROTO((const char *, unsigned EMUSHORT *)); -static void asctoe64 PROTO((const char *, unsigned EMUSHORT *)); -static void asctoe113 PROTO((const char *, unsigned EMUSHORT *)); -static void asctoe PROTO((const char *, unsigned EMUSHORT *)); -static void asctoeg PROTO((const char *, unsigned EMUSHORT *, int)); -static void efloor PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etoasc PARAMS ((unsigned EMUSHORT *, char *, int)); +static void asctoe24 PARAMS ((const char *, unsigned EMUSHORT *)); +static void asctoe53 PARAMS ((const char *, unsigned EMUSHORT *)); +static void asctoe64 PARAMS ((const char *, unsigned EMUSHORT *)); +static void asctoe113 PARAMS ((const char *, unsigned EMUSHORT *)); +static void asctoe PARAMS ((const char *, unsigned EMUSHORT *)); +static void asctoeg PARAMS ((const char *, unsigned EMUSHORT *, int)); +static void efloor PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); #if 0 -static void efrexp PROTO((unsigned EMUSHORT *, int *, +static void efrexp PARAMS ((unsigned EMUSHORT *, int *, unsigned EMUSHORT *)); #endif -static void eldexp PROTO((unsigned EMUSHORT *, int, unsigned EMUSHORT *)); +static void eldexp PARAMS ((unsigned EMUSHORT *, int, unsigned EMUSHORT *)); #if 0 -static void eremain PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void eremain PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, unsigned EMUSHORT *)); #endif -static void eiremain PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void mtherr PROTO((const char *, int)); +static void eiremain PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void mtherr PARAMS ((const char *, int)); #ifdef DEC -static void dectoe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etodec PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void todec PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void dectoe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etodec PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void todec PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); #endif #ifdef IBM -static void ibmtoe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void ibmtoe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, enum machine_mode)); -static void etoibm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void etoibm PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, enum machine_mode)); -static void toibm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void toibm PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, enum machine_mode)); #endif #ifdef C4X -static void c4xtoe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void c4xtoe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, enum machine_mode)); -static void etoc4x PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void etoc4x PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, enum machine_mode)); -static void toc4x PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *, +static void toc4x PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *, enum machine_mode)); #endif -static void make_nan PROTO((unsigned EMUSHORT *, int, enum machine_mode)); +static void make_nan PARAMS ((unsigned EMUSHORT *, int, enum machine_mode)); #if 0 -static void uditoe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void ditoe PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etoudi PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void etodi PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); -static void esqrt PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void uditoe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void ditoe PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etoudi PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void etodi PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); +static void esqrt PARAMS ((unsigned EMUSHORT *, unsigned EMUSHORT *)); #endif /* Copy 32-bit numbers obtained from array containing 16-bit numbers, diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 2e7fc64..45ef11c 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -229,36 +229,36 @@ static rtx nan; /* Forward declarations */ -static int stack_regs_mentioned_p PROTO((rtx pat)); -static void straighten_stack PROTO((rtx, stack)); -static void pop_stack PROTO((stack, int)); -static rtx *get_true_reg PROTO((rtx *)); - -static int check_asm_stack_operands PROTO((rtx)); -static int get_asm_operand_n_inputs PROTO((rtx)); -static rtx stack_result PROTO((tree)); -static void replace_reg PROTO((rtx *, int)); -static void remove_regno_note PROTO((rtx, enum reg_note, int)); -static int get_hard_regnum PROTO((stack, rtx)); -static void delete_insn_for_stacker PROTO((rtx)); -static rtx emit_pop_insn PROTO((rtx, stack, rtx, +static int stack_regs_mentioned_p PARAMS ((rtx pat)); +static void straighten_stack PARAMS ((rtx, stack)); +static void pop_stack PARAMS ((stack, int)); +static rtx *get_true_reg PARAMS ((rtx *)); + +static int check_asm_stack_operands PARAMS ((rtx)); +static int get_asm_operand_n_inputs PARAMS ((rtx)); +static rtx stack_result PARAMS ((tree)); +static void replace_reg PARAMS ((rtx *, int)); +static void remove_regno_note PARAMS ((rtx, enum reg_note, int)); +static int get_hard_regnum PARAMS ((stack, rtx)); +static void delete_insn_for_stacker PARAMS ((rtx)); +static rtx emit_pop_insn PARAMS ((rtx, stack, rtx, enum emit_where)); -static void emit_swap_insn PROTO((rtx, stack, rtx)); -static void move_for_stack_reg PROTO((rtx, stack, rtx)); -static int swap_rtx_condition_1 PROTO((rtx)); -static int swap_rtx_condition PROTO((rtx)); -static void compare_for_stack_reg PROTO((rtx, stack, rtx)); -static void subst_stack_regs_pat PROTO((rtx, stack, rtx)); -static void subst_asm_stack_regs PROTO((rtx, stack)); -static void subst_stack_regs PROTO((rtx, stack)); -static void change_stack PROTO((rtx, stack, stack, +static void emit_swap_insn PARAMS ((rtx, stack, rtx)); +static void move_for_stack_reg PARAMS ((rtx, stack, rtx)); +static int swap_rtx_condition_1 PARAMS ((rtx)); +static int swap_rtx_condition PARAMS ((rtx)); +static void compare_for_stack_reg PARAMS ((rtx, stack, rtx)); +static void subst_stack_regs_pat PARAMS ((rtx, stack, rtx)); +static void subst_asm_stack_regs PARAMS ((rtx, stack)); +static void subst_stack_regs PARAMS ((rtx, stack)); +static void change_stack PARAMS ((rtx, stack, stack, enum emit_where)); -static int convert_regs_entry PROTO((void)); -static void convert_regs_exit PROTO((void)); -static int convert_regs_1 PROTO((FILE *, basic_block)); -static int convert_regs_2 PROTO((FILE *, basic_block)); -static int convert_regs PROTO((FILE *)); -static void print_stack PROTO((FILE *, stack)); +static int convert_regs_entry PARAMS ((void)); +static void convert_regs_exit PARAMS ((void)); +static int convert_regs_1 PARAMS ((FILE *, basic_block)); +static int convert_regs_2 PARAMS ((FILE *, basic_block)); +static int convert_regs PARAMS ((FILE *)); +static void print_stack PARAMS ((FILE *, stack)); /* Return non-zero if any stack register is mentioned somewhere within PAT. */ diff --git a/gcc/resource.c b/gcc/resource.c index 719bd20..274cb23 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -74,10 +74,10 @@ static HARD_REG_SET current_live_regs; static HARD_REG_SET pending_dead_regs; -static void update_live_status PROTO ((rtx, rtx, void *)); -static int find_basic_block PROTO ((rtx)); -static rtx next_insn_no_annul PROTO ((rtx)); -static rtx find_dead_or_set_registers PROTO ((rtx, struct resources*, +static void update_live_status PARAMS ((rtx, rtx, void *)); +static int find_basic_block PARAMS ((rtx)); +static rtx next_insn_no_annul PARAMS ((rtx)); +static rtx find_dead_or_set_registers PARAMS ((rtx, struct resources*, rtx*, int, struct resources, struct resources)); diff --git a/gcc/sdbout.h b/gcc/sdbout.h index dcbd6c1..9e42a6b 100644 --- a/gcc/sdbout.h +++ b/gcc/sdbout.h @@ -18,22 +18,22 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -extern void sdbout_init PROTO ((FILE *, char*, tree)); +extern void sdbout_init PARAMS ((FILE *, char*, tree)); -extern void sdbout_begin_function PROTO ((int)); -extern void sdbout_end_function PROTO ((int)); +extern void sdbout_begin_function PARAMS ((int)); +extern void sdbout_end_function PARAMS ((int)); -extern void sdbout_begin_block PROTO ((FILE *, int, int)); -extern void sdbout_end_block PROTO ((FILE *, int, int)); +extern void sdbout_begin_block PARAMS ((FILE *, int, int)); +extern void sdbout_end_block PARAMS ((FILE *, int, int)); -extern void sdbout_label PROTO ((rtx)); -extern void sdbout_symbol PROTO ((tree, int)); -extern void sdbout_toplevel_data PROTO ((tree)); -extern void sdbout_types PROTO ((tree)); +extern void sdbout_label PARAMS ((rtx)); +extern void sdbout_symbol PARAMS ((tree, int)); +extern void sdbout_toplevel_data PARAMS ((tree)); +extern void sdbout_types PARAMS ((tree)); -extern void sdbout_end_epilogue PROTO ((void)); +extern void sdbout_end_epilogue PARAMS ((void)); -extern void sdbout_start_new_source_file PROTO ((char *)); -extern void sdbout_resume_previous_source_file PROTO ((void)); -extern void sdbout_mark_begin_function PROTO ((void)); +extern void sdbout_start_new_source_file PARAMS ((char *)); +extern void sdbout_resume_previous_source_file PARAMS ((void)); +extern void sdbout_mark_begin_function PARAMS ((void)); diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index ff31d8c..c3e2d8c 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -89,9 +89,9 @@ Boston, MA 02111-1307, USA. */ || GET_CODE (X) == ADDRESSOF) -static rtx simplify_plus_minus PROTO((enum rtx_code, enum machine_mode, +static rtx simplify_plus_minus PARAMS ((enum rtx_code, enum machine_mode, rtx, rtx)); -static void check_fold_consts PROTO((PTR)); +static void check_fold_consts PARAMS ((PTR)); /* Make a binary operation by properly ordering the operands and seeing if the expression folds. */ diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 455152f..8ffacb7 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -43,8 +43,8 @@ int maximum_field_alignment; May be overridden by front-ends. */ int set_alignment = 0; -static tree layout_record PROTO((tree)); -static void layout_union PROTO((tree)); +static tree layout_record PARAMS ((tree)); +static void layout_union PARAMS ((tree)); /* SAVE_EXPRs for sizes of types and decls, waiting to be expanded. */ diff --git a/gcc/stupid.c b/gcc/stupid.c index b197945..6e36b49 100644 --- a/gcc/stupid.c +++ b/gcc/stupid.c @@ -125,12 +125,12 @@ static HARD_REG_SET *after_insn_hard_regs; #define MARK_LIVE_AFTER(INSN,REGNO) \ SET_HARD_REG_BIT (after_insn_hard_regs[INSN_SUID (INSN)], (REGNO)) -static int stupid_reg_compare PROTO((const PTR,const PTR)); -static int stupid_find_reg PROTO((int, enum reg_class, enum machine_mode, +static int stupid_reg_compare PARAMS ((const PTR,const PTR)); +static int stupid_find_reg PARAMS ((int, enum reg_class, enum machine_mode, int, int, int)); -static void stupid_mark_refs PROTO((rtx, struct insn_chain *)); -static void find_clobbered_regs PROTO((rtx, rtx, void *)); -static void mark_hard_ref PROTO((rtx, int, struct insn_chain *)); +static void stupid_mark_refs PARAMS ((rtx, struct insn_chain *)); +static void find_clobbered_regs PARAMS ((rtx, rtx, void *)); +static void mark_hard_ref PARAMS ((rtx, int, struct insn_chain *)); /* For communication between stupid_life_analysis and find_clobbered_regs. */ static struct insn_chain *current_chain; diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index 35f601b..dd9cf3b 100644 --- a/gcc/xcoffout.c +++ b/gcc/xcoffout.c @@ -116,8 +116,8 @@ char *xcoff_lastfile; #define ASM_OUTPUT_LBE(FILE,LINENUM,BLOCKNUM) \ fprintf (FILE, "\t.eb\t%d\n", ABS_OR_RELATIVE_LINENO (LINENUM)) -static void assign_type_number PROTO((tree, char *, int)); -static void xcoffout_block PROTO((tree, int, tree)); +static void assign_type_number PARAMS ((tree, char *, int)); +static void xcoffout_block PARAMS ((tree, int, tree)); /* Support routines for XCOFF debugging info. */ diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h index 1683a88..7f62821 100644 --- a/gcc/xcoffout.h +++ b/gcc/xcoffout.h @@ -188,24 +188,24 @@ extern char *xcoff_lastfile; /* Prototype functions in xcoffout.c. */ -extern int stab_to_sclass PROTO ((int)); +extern int stab_to_sclass PARAMS ((int)); #ifdef BUFSIZ -extern void xcoffout_begin_function PROTO ((FILE *, int)); -extern void xcoffout_begin_block PROTO ((FILE *, int, int)); -extern void xcoffout_end_epilogue PROTO ((FILE *)); -extern void xcoffout_end_function PROTO ((FILE *, int)); -extern void xcoffout_end_block PROTO ((FILE *, int, int)); +extern void xcoffout_begin_function PARAMS ((FILE *, int)); +extern void xcoffout_begin_block PARAMS ((FILE *, int, int)); +extern void xcoffout_end_epilogue PARAMS ((FILE *)); +extern void xcoffout_end_function PARAMS ((FILE *, int)); +extern void xcoffout_end_block PARAMS ((FILE *, int, int)); #endif /* BUFSIZ */ #ifdef TREE_CODE -extern void xcoff_output_standard_types PROTO ((tree)); +extern void xcoff_output_standard_types PARAMS ((tree)); #ifdef BUFSIZ -extern void xcoffout_declare_function PROTO ((FILE *, tree, char *)); +extern void xcoffout_declare_function PARAMS ((FILE *, tree, char *)); #endif /* BUFSIZ */ #endif /* TREE_CODE */ #ifdef RTX_CODE #ifdef BUFSIZ -extern void xcoffout_source_line PROTO ((FILE *, char *, rtx)); +extern void xcoffout_source_line PARAMS ((FILE *, char *, rtx)); #endif /* BUFSIZ */ #endif /* RTX_CODE */