aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-03-28 17:33:22 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-03-28 17:33:22 +0000
commit3228bc05fc4414db84bd0a81099d22ff1bd4a4e9 (patch)
tree71626eb048f5e031e0a8fc0320bdec9e9a929178 /gcc
parent8f0e7be43cb851bdf09269f726e182778851010b (diff)
downloadgcc-3228bc05fc4414db84bd0a81099d22ff1bd4a4e9.zip
gcc-3228bc05fc4414db84bd0a81099d22ff1bd4a4e9.tar.gz
gcc-3228bc05fc4414db84bd0a81099d22ff1bd4a4e9.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/recog.h4
-rw-r--r--gcc/rtl.h2
-rw-r--r--gcc/rtlanal.c2
4 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c5e33f0..0842687 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/recog.h b/gcc/recog.h
index 79f22f9..c8a6598 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 a033733..23a1338 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 8347849..d39071b 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))
{