Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/sandpoint Get rid of warning if no com de...
details: https://anonhg.NetBSD.org/src/rev/2176b1a2eb38
branches: trunk
changeset: 503558:2176b1a2eb38
user: briggs <briggs%NetBSD.org@localhost>
date: Thu Feb 08 18:31:25 2001 +0000
description:
Get rid of warning if no com devices are specified.
diffstat:
sys/arch/sandpoint/sandpoint/machdep.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r f8c0523326f8 -r 2176b1a2eb38 sys/arch/sandpoint/sandpoint/machdep.c
--- a/sys/arch/sandpoint/sandpoint/machdep.c Thu Feb 08 18:29:28 2001 +0000
+++ b/sys/arch/sandpoint/sandpoint/machdep.c Thu Feb 08 18:31:25 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.2 2001/02/05 19:22:25 briggs Exp $ */
+/* $NetBSD: machdep.c,v 1.3 2001/02/08 18:31:25 briggs Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -582,7 +582,9 @@
consinit()
{
static int initted;
+#if (NCOM > 0)
bus_space_tag_t tag;
+#endif
if (initted)
return;
Home |
Main Index |
Thread Index |
Old Index