aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-04 23:17:44 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-04 23:17:44 +0000
commit54e62799379149e40fe4d3ad86ce12a18b2fa0b6 (patch)
treefd988634ea7d34463ef0d9c6ba21c7b8a226ad45 /gcc/builtins.c
parent65f4323d84b08d9d0ff450d6e6432abf0a4fa3fb (diff)
downloadgcc-54e62799379149e40fe4d3ad86ce12a18b2fa0b6.zip
gcc-54e62799379149e40fe4d3ad86ce12a18b2fa0b6.tar.gz
gcc-54e62799379149e40fe4d3ad86ce12a18b2fa0b6.tar.bz2
builtins.c (expand_builtin_return_addr, [...]): Make them static.
* 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
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 4c1d3a4..3749e0e 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -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