Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netisdn Don't freak out if a kernel config already has I...



details:   https://anonhg.NetBSD.org/src/rev/4b892ce09576
branches:  trunk
changeset: 750894:4b892ce09576
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 18 16:29:51 2010 +0000

description:
Don't freak out if a kernel config already has I4B_MBUF_DEBUG

diffstat:

 sys/netisdn/i4b_mbuf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r a298089f7fab -r 4b892ce09576 sys/netisdn/i4b_mbuf.c
--- a/sys/netisdn/i4b_mbuf.c    Mon Jan 18 15:55:11 2010 +0000
+++ b/sys/netisdn/i4b_mbuf.c    Mon Jan 18 16:29:51 2010 +0000
@@ -27,7 +27,7 @@
  *     i4b - mbuf handling support routines
  *     ------------------------------------
  *
- *     $Id: i4b_mbuf.c,v 1.5 2005/12/11 12:25:06 christos Exp $
+ *     $Id: i4b_mbuf.c,v 1.6 2010/01/18 16:29:51 pooka Exp $
  *
  * $FreeBSD$
  *
@@ -36,7 +36,7 @@
  *---------------------------------------------------------------------------*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_mbuf.c,v 1.5 2005/12/11 12:25:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_mbuf.c,v 1.6 2010/01/18 16:29:51 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -51,7 +51,9 @@
 #include <netisdn/i4b_mbuf.h>
 #include <netisdn/i4b_global.h>
 
+#ifndef I4B_MBUF_DEBUG
 #define I4B_MBUF_DEBUG
+#endif
 #undef I4B_MBUF_TYPE_DEBUG
 
 #ifdef I4B_MBUF_TYPE_DEBUG



Home | Main Index | Thread Index | Old Index