summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-18 11:55:53 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-18 11:55:53 +0000
commit91bf330a0054a3f8e5b20fc16041683a826635ea (patch)
tree9b25270f0fc6f57db14b6f2546f0054dcec5f467 /libobjc
parentb83f6bcee38c542f71166cef17dc4d1551bc04f0 (diff)
downloadgcc-91bf330a0054a3f8e5b20fc16041683a826635ea.tar.gz
2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* 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
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/objc/objc-list.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index dbc79f8eb84..880112276bd 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -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.
diff --git a/libobjc/objc/objc-list.h b/libobjc/objc/objc-list.h
index 051e1c2c132..87084616722 100644
--- a/libobjc/objc/objc-list.h
+++ b/libobjc/objc/objc-list.h
@@ -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)