diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-14 02:55:03 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-14 02:55:03 +0000 |
commit | 7b25e6631d06cd75c0db8f59e1e863eda4d0c66e (patch) | |
tree | fb478b4e05efedfce3170741880e5b9f93d651e2 /gcc | |
parent | c148389e285d2de5ca880f6677efd8a4e7a109bc (diff) | |
download | gcc-7b25e6631d06cd75c0db8f59e1e863eda4d0c66e.zip gcc-7b25e6631d06cd75c0db8f59e1e863eda4d0c66e.tar.gz gcc-7b25e6631d06cd75c0db8f59e1e863eda4d0c66e.tar.bz2 |
function.c (get_func_frame_size): Make it static.
* function.c (get_func_frame_size): Make it static.
* function.h: Remove the corresponding type.
From-SVN: r96409
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/function.c | 2 | ||||
-rw-r--r-- | gcc/function.h | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82ab701..d8fcc52 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,9 @@ * except.c (check_handled): Make it static. * except.h: Remove the corresponding prototype. + * function.c (get_func_frame_size): Make it static. + * function.h: Remove the corresponding type. + 2005-03-14 Alan Modra <amodra@bigpond.net.au> * config.gcc: Remove excess indentation. diff --git a/gcc/function.c b/gcc/function.c index 3354c13..9db8ae0 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -353,7 +353,7 @@ free_after_compilation (struct function *f) This size counts from zero. It is not rounded to PREFERRED_STACK_BOUNDARY; the caller may have to do that. */ -HOST_WIDE_INT +static HOST_WIDE_INT get_func_frame_size (struct function *f) { #ifdef FRAME_GROWS_DOWNWARD diff --git a/gcc/function.h b/gcc/function.h index ef0f55a..6444554 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -508,8 +508,6 @@ extern void free_block_changes (void); This size counts from zero. It is not rounded to STACK_BOUNDARY; the caller may have to do that. */ extern HOST_WIDE_INT get_frame_size (void); -/* Likewise, but for a different than the current function. */ -extern HOST_WIDE_INT get_func_frame_size (struct function *); /* A pointer to a function to create target specific, per-function data structures. */ |