summaryrefslogtreecommitdiff
path: root/openbsd-compat/sys-queue.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-10-26 16:46:31 +1000
committerDamien Miller <djm@mindrot.org>2007-10-26 16:46:31 +1000
commita95c0c224bf0969d57fabb27004f4c9b810c26fa (patch)
tree38e74128783bd0691be8486ce422b4d9f5cbcd31 /openbsd-compat/sys-queue.h
parent03c618afa3c19fe4574a5bc45eec09fd0b1d5990 (diff)
- otto@cvs.openbsd.org 2007/04/30 18:42:34
[openbsd-compat/sys-queue.h] Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels. Input and okays from krw@, millert@, otto@, deraadt@, miod@.
Diffstat (limited to 'openbsd-compat/sys-queue.h')
-rw-r--r--openbsd-compat/sys-queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/sys-queue.h b/openbsd-compat/sys-queue.h
index 7d231bca8..5cf0587bd 100644
--- a/openbsd-compat/sys-queue.h
+++ b/openbsd-compat/sys-queue.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: queue.h,v 1.31 2005/11/25 08:06:25 otto Exp $ */ 1/* $OpenBSD: queue.h,v 1.32 2007/04/30 18:42:34 pedro Exp $ */
2/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ 2/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */
3 3
4/* 4/*
@@ -167,7 +167,7 @@
167 * For details on the use of these macros, see the queue(3) manual page. 167 * For details on the use of these macros, see the queue(3) manual page.
168 */ 168 */
169 169
170#ifdef QUEUE_MACRO_DEBUG 170#if defined(QUEUE_MACRO_DEBUG) || (defined(_KERNEL) && defined(DIAGNOSTIC))
171#define _Q_INVALIDATE(a) (a) = ((void *)-1) 171#define _Q_INVALIDATE(a) (a) = ((void *)-1)
172#else 172#else
173#define _Q_INVALIDATE(a) 173#define _Q_INVALIDATE(a)