summaryrefslogtreecommitdiffstats
path: root/sys/sys/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/queue.h')
-rw-r--r--sys/sys/queue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/queue.h b/sys/sys/queue.h
index e03ed9b..0da19f7 100644
--- a/sys/sys/queue.h
+++ b/sys/sys/queue.h
@@ -113,6 +113,9 @@
struct name { \
struct type *slh_first; /* first element */ \
}
+
+#define SLIST_HEAD_INITIALIZER(head) \
+ { NULL }
#define SLIST_ENTRY(type) \
struct { \
OpenPOWER on IntegriCloud