From be1bbc41832e2e984c8b5487cd554d21086dba45 Mon Sep 17 00:00:00 2001 From: Ziemowit Laski Date: Fri, 3 Oct 2003 22:49:54 +0000 Subject: [PATCH] objc-act.c (lookup_category): Mark as 'inline'. 2003-10-03 Ziemowit Laski * objc/objc-act.c (lookup_category): Mark as 'inline'. From-SVN: r72081 --- gcc/ChangeLog | 4 ++++ gcc/objc/objc-act.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a742ac49ee..4cb41d4ae19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-03 Ziemowit Laski + + * objc/objc-act.c (lookup_category): Mark as 'inline'. + 2003-10-03 Alexander Malmberg Ziemowit Laski diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 6b6d2f1907f..b9050354af5 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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); -- 2.30.2