Warning fixes:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 28 Mar 1999 17:33:22 +0000 (17:33 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 28 Mar 1999 17:33:22 +0000 (17:33 +0000)
        * 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
gcc/recog.h
gcc/rtl.h
gcc/rtlanal.c

index c5e33f00cce313d1fa3c7c47b81e33e9740cbc5e..0842687bb6cced74dd01986562ac0e35a0916f80 100644 (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>
 
        * varasm.c (output_constant_pool): Always mark the constant pool.
index 79f22f9135a7111f96c6a6b8d1682cb1f3dd8370..c8a6598cb4aba32238262180bc68efff4c7a7009 100644 (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_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[];
index a033733c8e4d3385589147e3b11571c303c9cc40..23a1338844baf14c9b886a228cd65edcd27c7f34 100644 (file)
--- 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));
index 8347849c6e197c7f307948bb717b5b992fad633c..d39071bf959cd888f0a7b405421477f7e71b8a56 100644 (file)
@@ -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))
     {