36 lines
787 B
Plaintext
36 lines
787 B
Plaintext
$OpenBSD: patch-dccp_bsd_queue_h,v 1.1 2017/05/18 23:28:53 espie Exp $
|
|
|
|
Index: dccp/bsd_queue.h
|
|
--- dccp/bsd_queue.h.orig
|
|
+++ dccp/bsd_queue.h
|
|
@@ -111,6 +111,29 @@
|
|
#undef LIST_INSERT_BEFORE
|
|
#undef LIST_INSERT_HEAD
|
|
#undef LIST_REMOVE
|
|
+/* and more */
|
|
+#undef SLIST_EMPY
|
|
+#undef SLIST_FOREACH
|
|
+#undef SLIST_INIT
|
|
+#undef SLIST_INSERT_AFTER
|
|
+#undef SLIST_INSERT_HEAD
|
|
+#undef SLIST_REMOVE
|
|
+#undef SLIST_REMOVE_HEAD
|
|
+#undef LIST_EMPTY
|
|
+#undef LIST_FOREACH
|
|
+#undef TAILQ_HEAD
|
|
+#undef TAILQ_ENTRY
|
|
+#undef TAILQ_CONCAT
|
|
+#undef TAILQ_EMPTY
|
|
+#undef TAILQ_FOREACH
|
|
+#undef TAILQ_FOREACH_REVERSE
|
|
+#undef TAILQ_INIT
|
|
+#undef TAILQ_INSERT_AFTER
|
|
+#undef TAILQ_INSERT_BEFORE
|
|
+#undef TAILQ_INSERT_HEAD
|
|
+#undef TAILQ_INSERT_TAIL
|
|
+#undef TAILQ_REMOVE
|
|
+
|
|
|
|
#define QUEUE_MACRO_DEBUG 0
|
|
#if QUEUE_MACRO_DEBUG
|