This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A prototype patch for explow.c


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]