aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c17
-rw-r--r--gcc/objc/objc-lang.c5
2 files changed, 4 insertions, 18 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index c16e57c..44edf72 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -518,14 +518,6 @@ define_decl (declarator, declspecs)
`a' and `b' are the same class type, or
`a' and `b' are of class types A and B such that B is a descendant of A. */
-int
-maybe_objc_comptypes (lhs, rhs, reflexive)
- tree lhs, rhs;
- int reflexive;
-{
- return objc_comptypes (lhs, rhs, reflexive);
-}
-
static tree
lookup_method_in_protocol_list (rproto_list, sel_name, class_meth)
tree rproto_list;
@@ -764,13 +756,6 @@ objc_check_decl (decl)
error_with_decl (decl, "`%s' cannot be statically allocated");
}
-void
-maybe_objc_check_decl (decl)
- tree decl;
-{
- objc_check_decl (decl);
-}
-
/* Implement static typing. At this point, we know we have an interface. */
tree
@@ -4690,7 +4675,7 @@ receiver_is_class_object (receiver)
static tree building_objc_message_expr = 0;
tree
-maybe_building_objc_message_expr ()
+objc_message_selector ()
{
return building_objc_message_expr;
}
diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c
index 111428a..73e6204 100644
--- a/gcc/objc/objc-lang.c
+++ b/gcc/objc/objc-lang.c
@@ -162,5 +162,6 @@ const char * const tree_code_name[] = {
static void
objc_init_options ()
{
- c_common_init_options (clk_objective_c);
-}
+ flag_objc = 1;
+ c_common_init_options (clk_c);
+}