diff options
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 1f8c6b6..6be5e7f 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -58,16 +58,16 @@ struct clobber_ent struct clobber_ent *next; }; -static void max_operand_1 PROTO((rtx)); -static int max_operand_vec PROTO((rtx, int)); -static void print_code PROTO((RTX_CODE)); -static void gen_exp PROTO((rtx, enum rtx_code)); -static void gen_insn PROTO((rtx)); -static void gen_expand PROTO((rtx)); -static void gen_split PROTO((rtx)); -static void output_add_clobbers PROTO((void)); -static void gen_rtx_scratch PROTO((rtx, enum rtx_code)); -static void output_peephole2_scratches PROTO((rtx)); +static void max_operand_1 PARAMS ((rtx)); +static int max_operand_vec PARAMS ((rtx, int)); +static void print_code PARAMS ((RTX_CODE)); +static void gen_exp PARAMS ((rtx, enum rtx_code)); +static void gen_insn PARAMS ((rtx)); +static void gen_expand PARAMS ((rtx)); +static void gen_split PARAMS ((rtx)); +static void output_add_clobbers PARAMS ((void)); +static void gen_rtx_scratch PARAMS ((rtx, enum rtx_code)); +static void output_peephole2_scratches PARAMS ((rtx)); static void @@ -572,7 +572,7 @@ gen_split (split) /* Output the prototype, function name and argument declarations. */ if (GET_CODE (split) == DEFINE_PEEPHOLE2) { - printf ("extern rtx gen_%s_%d PROTO ((rtx, rtx *));\n", + printf ("extern rtx gen_%s_%d PARAMS ((rtx, rtx *));\n", name, insn_code_number); printf ("rtx\ngen_%s_%d (curr_insn, operands)\n\ rtx curr_insn ATTRIBUTE_UNUSED;\n\ @@ -581,7 +581,7 @@ gen_split (split) } else { - printf ("extern rtx gen_split_%d PROTO ((rtx *));\n", insn_code_number); + printf ("extern rtx gen_split_%d PARAMS ((rtx *));\n", insn_code_number); printf ("rtx\ngen_%s_%d (operands)\n rtx *operands;\n", name, insn_code_number); } @@ -770,7 +770,7 @@ xrealloc (old, size) return ptr; } -extern int main PROTO ((int, char **)); +extern int main PARAMS ((int, char **)); int main (argc, argv) |