From 0009b73ed88f5c1759c3b2d9df73492d53f79039 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 15 Mar 2012 21:45:00 -0700 Subject: [PATCH] Add cdefs decoration to list.h In case someone includes this from C++ code. Change-Id: I3b5a8bde5b5b9e8dcee64abaf33383f21eff7046 --- include/cutils/list.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/cutils/list.h b/include/cutils/list.h index eb5a3c84a..8190219db 100644 --- a/include/cutils/list.h +++ b/include/cutils/list.h @@ -18,6 +18,9 @@ #define _CUTILS_LIST_H_ #include +#include + +__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