explow.c (emit_stack_save): Add prototype for FCN.
authorH.J. Lu <hjl@gnu.org>
Fri, 19 Jun 1998 21:59:49 +0000 (21:59 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Jun 1998 21:59:49 +0000 (15:59 -0600)
* explow.c (emit_stack_save): Add prototype for FCN.
(emit_stack_restore): Likewise.

From-SVN: r20609

gcc/ChangeLog
gcc/explow.c

index 615955477503df71a22c7fcdc5cd45763a8feb60..7c571ada98eae00b984beeb74a7452a70c3baf19 100644 (file)
@@ -4,6 +4,9 @@ Fri Jun 19 22:55:14 1998  Jeffrey A Law  (law@cygnus.com)
 
 Fri Jun 19 20:38:34 1998  H.J. Lu  (hjl@gnu.org)
 
+       * explow.c (emit_stack_save): Add prototype for FCN.
+       (emit_stack_restore): Likewise.
+
        * dwarf2out.c (getpwd): Add prototype.
 
        * dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.
index affb2196bd956042d05f4dc9d2606d1b0b41f666..8117836c7b04da8bdca00c6c4852e478a2b34a8f 100644 (file)
@@ -866,7 +866,7 @@ emit_stack_save (save_level, psave, after)
 {
   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, after)
      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)