From 3228bc05fc4414db84bd0a81099d22ff1bd4a4e9 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 28 Mar 1999 17:33:22 +0000 Subject: [PATCH] Warning fixes: * recog.h (insn_outfun, insn_operand_predicate): Add prototype arguments. * rtl.h (note_stores): Likewise. * rtlanal.c (note_stores): Likewise. From-SVN: r26045 --- gcc/ChangeLog | 9 +++++++++ gcc/recog.h | 4 ++-- gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5e33f00cce..0842687bb6c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +Sun Mar 28 20:26:55 1999 Kaveh R. Ghazi + + * recog.h (insn_outfun, insn_operand_predicate): Add prototype + arguments. + + * rtl.h (note_stores): Likewise. + + * rtlanal.c (note_stores): Likewise. + Sun Mar 28 15:34:28 1999 Richard Henderson * varasm.c (output_constant_pool): Always mark the constant pool. diff --git a/gcc/recog.h b/gcc/recog.h index 79f22f9135a..c8a6598cb4a 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -178,7 +178,7 @@ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALT extern const char *const insn_template[]; -extern const char *(*const insn_outfun[]) (); +extern const char *(*const insn_outfun[]) PROTO ((rtx *, rtx)); extern const int insn_n_operands[]; @@ -203,6 +203,6 @@ extern const enum machine_mode insn_operand_mode[][MAX_RECOG_OPERANDS]; extern const char insn_operand_strict_low[][MAX_RECOG_OPERANDS]; -extern int (*const insn_operand_predicate[][MAX_RECOG_OPERANDS]) (); +extern int (*const insn_operand_predicate[][MAX_RECOG_OPERANDS]) PROTO ((rtx, enum machine_mode)); extern const char * insn_name[]; diff --git a/gcc/rtl.h b/gcc/rtl.h index a033733c8e4..23a1338844b 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1022,7 +1022,7 @@ extern int multiple_sets PROTO((rtx)); extern rtx find_last_value PROTO((rtx, rtx *, rtx, int)); extern int refers_to_regno_p PROTO((int, int, rtx, rtx *)); extern int reg_overlap_mentioned_p PROTO((rtx, rtx)); -extern void note_stores PROTO((rtx, void (*)())); +extern void note_stores PROTO((rtx, void (*)(rtx, rtx))); extern rtx reg_set_last PROTO((rtx, rtx)); extern int rtx_equal_p PROTO((rtx, rtx)); extern int dead_or_set_p PROTO((rtx, rtx)); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 8347849c6e1..d39071bf959 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1180,7 +1180,7 @@ rtx_equal_p (x, y) void note_stores (x, fun) register rtx x; - void (*fun) (); + void (*fun) PROTO ((rtx, rtx)); { if ((GET_CODE (x) == SET || GET_CODE (x) == CLOBBER)) {