Commit 0ddc9a94 by H.J. Lu Committed by Jeff Law

explow.c (emit_stack_save): Add prototype for FCN.

	* explow.c (emit_stack_save): Add prototype for FCN.
	(emit_stack_restore): Likewise.

From-SVN: r20609
parent 2c975716
...@@ -4,6 +4,9 @@ Fri Jun 19 22:55:14 1998 Jeffrey A Law (law@cygnus.com) ...@@ -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) 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.c (getpwd): Add prototype.
* dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations. * dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.
......
...@@ -866,7 +866,7 @@ emit_stack_save (save_level, psave, after) ...@@ -866,7 +866,7 @@ emit_stack_save (save_level, psave, after)
{ {
rtx sa = *psave; rtx sa = *psave;
/* The default is that we use a move insn and save in a Pmode object. */ /* 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); enum machine_mode mode = STACK_SAVEAREA_MODE (save_level);
/* See if this machine has anything special to do for this kind of save. */ /* 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) ...@@ -948,7 +948,7 @@ emit_stack_restore (save_level, sa, after)
rtx sa; rtx sa;
{ {
/* The default is that we use a move insn. */ /* 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. */ /* See if this machine has anything special to do for this kind of save. */
switch (save_level) switch (save_level)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment