Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0009b73e authored by Kenny Root's avatar Kenny Root
Browse files

Add cdefs decoration to list.h

In case someone includes this from C++ code.

Change-Id: I3b5a8bde5b5b9e8dcee64abaf33383f21eff7046
parent 1a87808b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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