From 7b25e6631d06cd75c0db8f59e1e863eda4d0c66e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 14 Mar 2005 02:55:03 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/function.c | 2 +- gcc/function.h | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82ab701157b..d8fcc529242 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 * config.gcc: Remove excess indentation. diff --git a/gcc/function.c b/gcc/function.c index 3354c13e049..9db8ae08952 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 ef0f55a4c38..6444554189f 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. */ -- 2.30.2