Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Protect WDCDEBUG from multiple definitions.



details:   https://anonhg.NetBSD.org/src/rev/ba6f0cf91b54
branches:  trunk
changeset: 472585:ba6f0cf91b54
user:      ross <ross%NetBSD.org@localhost>
date:      Mon May 03 07:44:47 1999 +0000

description:
Protect WDCDEBUG from multiple definitions.

diffstat:

 sys/dev/pci/pciide.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r c4a6a655d54c -r ba6f0cf91b54 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Mon May 03 07:32:50 1999 +0000
+++ b/sys/dev/pci/pciide.c      Mon May 03 07:44:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide.c,v 1.35 1999/04/28 00:18:12 thorpej Exp $      */
+/*     $NetBSD: pciide.c,v 1.36 1999/05/03 07:44:47 ross Exp $ */
 
 /*
  * Copyright (c) 1996, 1998 Christopher G. Demetriou.  All rights reserved.
@@ -42,7 +42,9 @@
  *
  */
 
+#ifndef WDCDEBUG
 #define WDCDEBUG
+#endif
 
 #define DEBUG_DMA   0x01
 #define DEBUG_XFERS  0x02



Home | Main Index | Thread Index | Old Index