]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c (expand_builtin_return_addr, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 4 Nov 2004 23:17:44 +0000 (23:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 4 Nov 2004 23:17:44 +0000 (23:17 +0000)
* builtins.c (expand_builtin_return_addr,
expand_builtin_longjmp, expand_builtin_trap): Make them static.
* expr.h: Remove the prototypes for expand_builtin_longjmp and
expand_builtin_trap.
* tree.h: Remove the prototype for expand_builtin_return_addr.

From-SVN: r90087

gcc/ChangeLog
gcc/builtins.c
gcc/expr.h
gcc/tree.h

index b110b8ef50b875b96b08241a280d83b696b9c7d4..a1f10b132da49d3a8c49b4a2cc1a6f25f75eea37 100644 (file)
@@ -1,3 +1,11 @@
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c (expand_builtin_return_addr,
+       expand_builtin_longjmp, expand_builtin_trap): Make them static.
+       * expr.h: Remove the prototypes for expand_builtin_longjmp and
+       expand_builtin_trap.
+       * tree.h: Remove the prototype for expand_builtin_return_addr.
+
 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-cfg.c (find_taken_edge): Reject VAL begin NULL.
index 4c1d3a4f6fc5a5c69e04d331b5a23657862df697..3749e0ef0113809862b91bf3c933f8c49d047438 100644 (file)
@@ -452,7 +452,7 @@ builtin_save_expr (tree exp)
    times to get the address of either a higher stack frame, or a return
    address located within it (depending on FNDECL_CODE).  */
 
-rtx
+static rtx
 expand_builtin_return_addr (enum built_in_function fndecl_code, int count,
                            rtx tem)
 {
@@ -688,7 +688,7 @@ expand_builtin_setjmp (tree arglist, rtx target)
    scheme in the compiler and will only work in the method used by
    them.  */
 
-void
+static void
 expand_builtin_longjmp (rtx buf_addr, rtx value)
 {
   rtx fp, lab, stack, insn, last;
@@ -4420,7 +4420,7 @@ expand_builtin_expect_jump (tree exp, rtx if_false_label, rtx if_true_label)
   return ret;
 }
 
-void
+static void
 expand_builtin_trap (void)
 {
 #ifdef HAVE_trap
index b5ec33f02bf28843110e579439d2c22646f8ba93..ec5f94317141440b258e365b8d8ef693e2b74f18 100644 (file)
@@ -340,9 +340,7 @@ extern void std_expand_builtin_va_start (tree, rtx);
 extern rtx default_expand_builtin (tree, rtx, rtx, enum machine_mode, int);
 extern void expand_builtin_setjmp_setup (rtx, rtx);
 extern void expand_builtin_setjmp_receiver (rtx);
-extern void expand_builtin_longjmp (rtx, rtx);
 extern rtx expand_builtin_saveregs (void);
-extern void expand_builtin_trap (void);
 \f
 /* Functions from expr.c:  */
 
index 001c967178e48a88c5187a384e843e28b1e0f111..7a0db8186c1e237169e292e6a7fff60f4cba794a 100644 (file)
@@ -3653,7 +3653,6 @@ extern bool debug_find_tree (tree, tree);
 extern tree unsave_expr_now (tree);
 
 /* In expr.c */
-extern rtx expand_builtin_return_addr (enum built_in_function, int, rtx);
 extern void check_max_integer_computation_mode (tree);
 
 /* In emit-rtl.c */