diff options
author | H.J. Lu <hjl@gnu.org> | 1998-06-19 21:59:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-19 15:59:49 -0600 |
commit | 0ddc9a949208001dd810494e68247f0982269763 (patch) | |
tree | 42037a0252b467a523bdf550f1e40c88ae5e2224 /gcc | |
parent | 2c975716a2b1068e16b46c64fed8fa3252319cac (diff) | |
download | gcc-0ddc9a949208001dd810494e68247f0982269763.zip gcc-0ddc9a949208001dd810494e68247f0982269763.tar.gz gcc-0ddc9a949208001dd810494e68247f0982269763.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | 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) |