summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ze.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-13 06:49:16 +0000
committerbde <bde@FreeBSD.org>1998-02-13 06:49:16 +0000
commit6ef28c2f031a8b4cda21d173b1a044dccdf77cfd (patch)
treef910d28c41769bb25802ae0812dce7297c086140 /sys/i386/isa/if_ze.c
parentc0758a12df13db5ca34c99e7facb377ddf0fa69a (diff)
downloadFreeBSD-src-6ef28c2f031a8b4cda21d173b1a044dccdf77cfd.zip
FreeBSD-src-6ef28c2f031a8b4cda21d173b1a044dccdf77cfd.tar.gz
Don't generate warnings for test coverage checking when compiling LINT.
Generate code instead.
Diffstat (limited to 'sys/i386/isa/if_ze.c')
-rw-r--r--sys/i386/isa/if_ze.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c
index eef24ae..b31adac 100644
--- a/sys/i386/isa/if_ze.c
+++ b/sys/i386/isa/if_ze.c
@@ -47,19 +47,18 @@
*/
/*
- * $Id: if_ze.c,v 1.48 1998/01/08 23:41:06 eivind Exp $
+ * $Id: if_ze.c,v 1.49 1998/02/04 04:41:37 eivind Exp $
*/
-/* XXX - Don't mix different PCCARD support code */
-#include "opt_lint.h"
-
+/* XXX don't mix different PCCARD support code. */
#include "card.h"
#include "pcic.h"
#if NCARD > 0 || NPCIC > 0
-#ifndef COMPILING_LINT
-#error "Dedicated PCMCIA drivers and generic PCMCIA support can't be mixed"
+#include "opt_lint.h"
+#ifdef COMPILING_LINT
+static char const zedummy[] = "code to use the includes of card.h and pcic.h";
#else
-#warning "Dedicated PCMCIA drivers and generic PCMCIA support can't be mixed"
+#error "Dedicated PCMCIA drivers and generic PCMCIA support can't be mixed"
#endif
#endif
OpenPOWER on IntegriCloud