aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2007-02-18 11:55:53 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2007-02-18 11:55:53 +0000
commit3034b4535a3329ae1bc856f35ed1730f57373bbd (patch)
tree9b25270f0fc6f57db14b6f2546f0054dcec5f467 /libobjc
parentf56fe8ff928a65703716552651debc774ada548a (diff)
downloadgcc-3034b4535a3329ae1bc856f35ed1730f57373bbd.zip
gcc-3034b4535a3329ae1bc856f35ed1730f57373bbd.tar.gz
gcc-3034b4535a3329ae1bc856f35ed1730f57373bbd.tar.bz2
objc-list.h (list_free): Add keyword 'inline' to avoid unused warning.
2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * objc/objc-list.h (list_free): Add keyword 'inline' to avoid unused warning. From-SVN: r122090
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 dbc79f8..8801122 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 051e1c2..8708461 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)