summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-03-19 17:42:15 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-03-19 17:42:15 -0700
commit418fbe66e0f7d189743ad95c8ba902db1ba6f6da (patch)
tree4b82ce20d84115f935900930bd7f99ef1dee41a5 /include
parent5e0621f78a32d48e9a52d78b3f1c6ce2f577a2ea (diff)
parent0009b73ed88f5c1759c3b2d9df73492d53f79039 (diff)
downloadsystem_core-418fbe66e0f7d189743ad95c8ba902db1ba6f6da.zip
system_core-418fbe66e0f7d189743ad95c8ba902db1ba6f6da.tar.gz
system_core-418fbe66e0f7d189743ad95c8ba902db1ba6f6da.tar.bz2
Merge "Add cdefs decoration to list.h"
Diffstat (limited to 'include')
-rw-r--r--include/cutils/list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cutils/list.h b/include/cutils/list.h
index eb5a3c8..8190219 100644
--- a/include/cutils/list.h
+++ b/include/cutils/list.h
@@ -18,6 +18,9 @@
#define _CUTILS_LIST_H_
#include <stddef.h>
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
struct listnode
{
@@ -48,4 +51,6 @@ void list_remove(struct listnode *item);
#define list_head(list) ((list)->next)
#define list_tail(list) ((list)->prev)
+__END_DECLS
+
#endif