]> andersk Git - openssh.git/blobdiff - openbsd-compat/sys-queue.h
- otto@cvs.openbsd.org 2007/04/30 18:42:34
[openssh.git] / openbsd-compat / sys-queue.h
index 7d231bca8077b58cd04b8a95bcf0526b13d770fa..5cf0587bd1c2e511a609c0f913df52b32307f4b2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: queue.h,v 1.31 2005/11/25 08:06:25 otto Exp $ */
+/*     $OpenBSD: queue.h,v 1.32 2007/04/30 18:42:34 pedro Exp $        */
 /*     $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $       */
 
 /*
  * For details on the use of these macros, see the queue(3) manual page.
  */
 
-#ifdef QUEUE_MACRO_DEBUG
+#if defined(QUEUE_MACRO_DEBUG) || (defined(_KERNEL) && defined(DIAGNOSTIC))
 #define _Q_INVALIDATE(a) (a) = ((void *)-1)
 #else
 #define _Q_INVALIDATE(a)
This page took 0.033235 seconds and 4 git commands to generate.