function.c (get_func_frame_size): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 14 Mar 2005 02:55:03 +0000 (02:55 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 14 Mar 2005 02:55:03 +0000 (02:55 +0000)
* function.c (get_func_frame_size): Make it static.
* function.h: Remove the corresponding type.

From-SVN: r96409

gcc/ChangeLog
gcc/function.c
gcc/function.h

index 82ab701157bedc9b889dce7857209d71c5019925..d8fcc52924289ec3166df84a31753001fcb43061 100644 (file)
@@ -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.
index 3354c13e049f70345272a1ad19660743c6e66175..9db8ae0895226c4965f2a5e07cfec6ccc6f66227 100644 (file)
@@ -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
index ef0f55a4c389b938e8d1198430585c2d2a6ff114..6444554189ff4dadb79e133939b33f244d68181c 100644 (file)
@@ -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.  */