Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern Fix KDASSERTMSG defintions for !DEBUG
details: https://anonhg.NetBSD.org/src/rev/977bbbd785bc
branches: trunk
changeset: 761387:977bbbd785bc
user: matt <matt%NetBSD.org@localhost>
date: Wed Jan 26 01:02:46 2011 +0000
description:
Fix KDASSERTMSG defintions for !DEBUG
diffstat:
sys/lib/libkern/libkern.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (25 lines):
diff -r 5625573c5145 -r 977bbbd785bc sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Wed Jan 26 00:58:36 2011 +0000
+++ b/sys/lib/libkern/libkern.h Wed Jan 26 01:02:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libkern.h,v 1.95 2011/01/24 22:53:07 matt Exp $ */
+/* $NetBSD: libkern.h,v 1.96 2011/01/26 01:02:46 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -222,11 +222,11 @@
#ifndef DEBUG
#ifdef lint
-#define KDASSERT(e) /* NOTHING */
-#define KDASSERTMSG(e) /* NOTHING */
+#define KDASSERTMSG(e,msg) /* NOTHING */
+#define KDASSERT(e) /* NOTHING */
#else /* lint */
-#define KDASSERT(e) ((void)0)
-#define KDASSERTMSG(e) ((void)0)
+#define KDASSERTMSG(e,msg) ((void)0)
+#define KDASSERT(e) ((void)0)
#endif /* lint */
#else
#define KDASSERTMSG(e, msg) do { \
Home |
Main Index |
Thread Index |
Old Index