We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eb9a8e commit a7dd74aCopy full SHA for a7dd74a
sys/sys/include/sys/queue.h
@@ -34,6 +34,8 @@
34
#ifndef _SYS_QUEUE_H_
35
#define _SYS_QUEUE_H_
36
37
+#include <os/util.h>
38
+
39
/*
40
* This file defines four types of data structures: singly-linked lists,
41
* singly-linked tail queues, lists and tail queues.
@@ -114,6 +116,11 @@
114
116
* _SWAP + + + +
115
117
*
118
*/
119
120
+#ifndef __containerof
121
+#define __containerof CONTAINER_OF
122
+#endif
123
124
#ifdef QUEUE_MACRO_DEBUG
125
#warn Use QUEUE_MACRO_DEBUG_TRACE and/or QUEUE_MACRO_DEBUG_TRASH
126
#define QUEUE_MACRO_DEBUG_TRACE
0 commit comments