diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-26 22:29:57 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-26 22:29:57 +0000 |
commit | 0aa32fac2fe29c1a8bcb8ccafb658a6c9c478dd9 (patch) | |
tree | 9e2be2316ae3e4b1cd2ebafb2b59b923433bc30c | |
parent | 5ee848e1ebb2a33986ad35bcff1dd8562e058e02 (diff) | |
download | gcc-0aa32fac2fe29c1a8bcb8ccafb658a6c9c478dd9.tar.gz |
Add prototypes for static functions.
(choose_hard_reg_mode): Add missing parameters declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3886 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/caller-save.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c index 3ecbd249a6c..db49610e370 100644 --- a/gcc/caller-save.c +++ b/gcc/caller-save.c @@ -69,10 +69,12 @@ static HARD_REG_SET hard_regs_need_restore; int n_regs_saved; -static void set_reg_live (); -static void clear_reg_live (); -static void restore_referenced_regs (); -static int insert_save_restore (); +static enum machine_mode choose_hard_reg_mode PROTO((int, int)); +static void set_reg_live PROTO((rtx, rtx)); +static void clear_reg_live PROTO((rtx)); +static void restore_referenced_regs PROTO((rtx, rtx, enum machine_mode)); +static int insert_save_restore PROTO((rtx, int, int, + enum machine_mode, int)); /* Return a machine mode that is legitimate for hard reg REGNO and large enough to save nregs. If we can't find one, return VOIDmode. */ @@ -80,6 +82,7 @@ static int insert_save_restore (); static enum machine_mode choose_hard_reg_mode (regno, nregs) int regno; + int nregs; { enum machine_mode found_mode = VOIDmode, mode; |