This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
A prototype patch for explow.c
- To: egcs-patches at cygnus dot com
- Subject: A prototype patch for explow.c
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 19 Jun 1998 19:35:17 -0700 (PDT)
Another prototype patch.
--
H.J. Lu (hjl@gnu.org)
---
Fri Jun 19 18:42:05 1998 H.J. Lu (hjl@gnu.org)
* explow.c (emit_stack_save): Add prototype for FCN.
(emit_stack_restore): Likewise.
Index: explow.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/explow.c,v
retrieving revision 1.1.1.9
diff -u -p -r1.1.1.9 explow.c
--- explow.c 1998/06/04 21:30:59 1.1.1.9
+++ explow.c 1998/06/04 21:50:37
@@ -866,7 +866,7 @@ emit_stack_save (save_level, psave, afte
{
rtx sa = *psave;
/* The default is that we use a move insn and save in a Pmode object. */
- rtx (*fcn) () = gen_move_insn;
+ rtx (*fcn) PROTO ((rtx, rtx)) = gen_move_insn;
enum machine_mode mode = STACK_SAVEAREA_MODE (save_level);
/* See if this machine has anything special to do for this kind of save. */
@@ -948,7 +948,7 @@ emit_stack_restore (save_level, sa, afte
rtx sa;
{
/* The default is that we use a move insn. */
- rtx (*fcn) () = gen_move_insn;
+ rtx (*fcn) PROTO ((rtx, rtx)) = gen_move_insn;
/* See if this machine has anything special to do for this kind of save. */
switch (save_level)