This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] except.[ch]: Make check_handled static.


Hi,

Bootstrapped on i686-pc-linux-gnu.  Committed as preapproved.

Kazu Hirata

2005-03-14  Kazu Hirata  <kazu@cs.umass.edu>

	* except.c (check_handled): Make it static.
	* except.h: Remove the corresponding prototype.

Index: except.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.c,v
retrieving revision 1.299
diff -u -d -p -r1.299 except.c
--- except.c	11 Mar 2005 09:04:52 -0000	1.299
+++ except.c	13 Mar 2005 14:39:18 -0000
@@ -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;
Index: except.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.h,v
retrieving revision 1.80
diff -u -d -p -r1.80 except.h
--- except.h	13 Nov 2004 14:17:58 -0000	1.80
+++ except.h	13 Mar 2005 14:39:18 -0000
@@ -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);
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]