objc-act.c (lookup_category): Mark as 'inline'.
authorZiemowit Laski <zlaski@apple.com>
Fri, 3 Oct 2003 22:49:54 +0000 (22:49 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Fri, 3 Oct 2003 22:49:54 +0000 (22:49 +0000)
2003-10-03  Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (lookup_category): Mark as 'inline'.

From-SVN: r72081

gcc/ChangeLog
gcc/objc/objc-act.c

index 2a742ac49ee6027f91d9e3559917a46ed3dfe408..4cb41d4ae196dc08840c1eb9ac10478fa1d57745 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-03  Ziemowit Laski  <zlaski@apple.com>
+
+       * objc/objc-act.c (lookup_category): Mark as 'inline'.
+
 2003-10-03  Alexander Malmberg  <alexander@malmberg.org>
            Ziemowit Laski  <zlaski@apple.com>
 
index 6b6d2f1907f32f0aeec90a4e42f293e904bdb027..b9050354af58df324bb724d72845d759669949e5 100644 (file)
@@ -187,7 +187,7 @@ static tree lookup_method_static (tree, tree, int);
 static void add_method_to_hash_list (hash *, tree);
 static tree add_class (tree);
 static void add_category (tree, tree);
-static tree lookup_category (tree, tree);
+static inline tree lookup_category (tree, tree);
 
 enum string_section
 {
@@ -5068,7 +5068,7 @@ build_shared_structure_initializer (tree type, tree isa, tree super,
 
 /* Retrieve category interface CAT_NAME (if any) associated with CLASS.  */
 
-static tree
+static inline tree
 lookup_category (tree class, tree cat_name)
 {
   tree category = CLASS_CATEGORY_LIST (class);