From 0ddc9a949208001dd810494e68247f0982269763 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 19 Jun 1998 21:59:49 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/explow.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6159554..7c571ad 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/explow.c b/gcc/explow.c index affb219..8117836 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -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) -- 2.7.4