OSDN Git Service

2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Feb 2007 11:55:53 +0000 (11:55 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Feb 2007 11:55:53 +0000 (11:55 +0000)
* objc/objc-list.h (list_free): Add keyword 'inline' to avoid
unused warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122090 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/objc/objc-list.h

index dbc79f8..8801122 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
+       unused warning.
+       
 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
 
        * encoding.c (darwin_rs6000_special_round_type_align): New.
index 051e1c2..8708461 100644 (file)
@@ -139,7 +139,7 @@ list_find(struct objc_list** list, void* elem)
 
 /* Free list (backwards recursive) */
 
-static void
+static inline void
 list_free(struct objc_list* list)
 {
   if(list)