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
This commit is contained in:
Kaveh R. Ghazi 1999-03-28 17:33:22 +00:00 committed by Kaveh Ghazi
parent 8f0e7be43c
commit 3228bc05fc
4 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
Sun Mar 28 20:26:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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 <rth@cygnus.com> Sun Mar 28 15:34:28 1999 Richard Henderson <rth@cygnus.com>
* varasm.c (output_constant_pool): Always mark the constant pool. * varasm.c (output_constant_pool): Always mark the constant pool.

View File

@ -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_template[];
extern const char *(*const insn_outfun[]) (); extern const char *(*const insn_outfun[]) PROTO ((rtx *, rtx));
extern const int insn_n_operands[]; 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 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[]; extern const char * insn_name[];

View File

@ -1022,7 +1022,7 @@ extern int multiple_sets PROTO((rtx));
extern rtx find_last_value PROTO((rtx, rtx *, rtx, int)); extern rtx find_last_value PROTO((rtx, rtx *, rtx, int));
extern int refers_to_regno_p PROTO((int, int, rtx, rtx *)); extern int refers_to_regno_p PROTO((int, int, rtx, rtx *));
extern int reg_overlap_mentioned_p PROTO((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 rtx reg_set_last PROTO((rtx, rtx));
extern int rtx_equal_p PROTO((rtx, rtx)); extern int rtx_equal_p PROTO((rtx, rtx));
extern int dead_or_set_p PROTO((rtx, rtx)); extern int dead_or_set_p PROTO((rtx, rtx));

View File

@ -1180,7 +1180,7 @@ rtx_equal_p (x, y)
void void
note_stores (x, fun) note_stores (x, fun)
register rtx x; register rtx x;
void (*fun) (); void (*fun) PROTO ((rtx, rtx));
{ {
if ((GET_CODE (x) == SET || GET_CODE (x) == CLOBBER)) if ((GET_CODE (x) == SET || GET_CODE (x) == CLOBBER))
{ {