aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c2
-rw-r--r--gcc/except.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 70eb224..82ab701 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-14 Kazu Hirata <kazu@cs.umass.edu>
+
+ * except.c (check_handled): Make it static.
+ * except.h: Remove the corresponding prototype.
+
2005-03-14 Alan Modra <amodra@bigpond.net.au>
* config.gcc: Remove excess indentation.
diff --git a/gcc/except.c b/gcc/except.c
index 20014b9..d774bf3 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2082,7 +2082,7 @@ struct reachable_info
/* A subroutine of reachable_next_level. Return true if TYPE, or a
base class of TYPE, is in HANDLED. */
-int
+static int
check_handled (tree handled, tree type)
{
tree t;
diff --git a/gcc/except.h b/gcc/except.h
index d79182f..3127d5d 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -81,7 +81,6 @@ extern void expand_eh_return (void);
extern rtx expand_builtin_extend_pointer (tree);
extern rtx get_exception_pointer (struct function *);
extern rtx get_exception_filter (struct function *);
-extern int check_handled (tree, tree);
extern void sjlj_emit_function_exit_after (rtx);