Merge "Add cdefs decoration to list.h"

This commit is contained in:
Kenny Root 2012-03-19 17:42:15 -07:00 committed by Android (Google) Code Review
commit 418fbe66e0
1 changed files with 5 additions and 0 deletions

View File

@ -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