diff options
author | bde <bde@FreeBSD.org> | 1998-02-13 06:49:16 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-02-13 06:49:16 +0000 |
commit | 6ef28c2f031a8b4cda21d173b1a044dccdf77cfd (patch) | |
tree | f910d28c41769bb25802ae0812dce7297c086140 /sys/i386/isa/if_zp.c | |
parent | c0758a12df13db5ca34c99e7facb377ddf0fa69a (diff) | |
download | FreeBSD-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_zp.c')
-rw-r--r-- | sys/i386/isa/if_zp.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c index 50bc231..6798e96 100644 --- a/sys/i386/isa/if_zp.c +++ b/sys/i386/isa/if_zp.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $ - * $Id: if_zp.c,v 1.43 1998/01/08 23:41:08 eivind Exp $ + * $Id: if_zp.c,v 1.44 1998/02/04 04:41:37 eivind Exp $ */ /*- * TODO: @@ -100,16 +100,15 @@ * ETO, Toshihisa <eto@osl.fujitsu.co.jp> */ -/* 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 zpdummy[] = "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 |