From owner-freebsd-current Wed Jan 24 12:49:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by hub.freebsd.org (Postfix) with SMTP id 8200737B401 for ; Wed, 24 Jan 2001 12:49:17 -0800 (PST) Received: (qmail 75183 invoked by uid 1142); 24 Jan 2001 20:49:17 -0000 Date: 24 Jan 2001 12:49:16 -0800 Date: Wed, 24 Jan 2001 12:49:04 -0800 From: Jason Evans To: Poul-Henning Kamp Cc: current@freebsd.org Subject: Re: cy.c doesn't compile in LINT Message-ID: <20010124124904.A87569@canonware.com> References: <33283.980367666@critter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <33283.980367666@critter>; from phk@freebsd.org on Wed, Jan 24, 2001 at 09:21:06PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 24, 2001 at 09:21:06PM +0100, Poul-Henning Kamp wrote: > > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg -mprofiler-epilogue ../../i386/isa/cy.c > ../../i386/isa/cy.c: In function `cy_units': > ../../i386/isa/cy.c:447: warning: `firmware_version' might be used uninitialized in this function > ../../i386/isa/cy.c: In function `cyopen': > ../../i386/isa/cy.c:783: warning: implicit declaration of function `mtx_enter' > ../../i386/isa/cy.c:783: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c:783: (Each undeclared identifier is reported only once > ../../i386/isa/cy.c:783: for each function it appears in.) > ../../i386/isa/cy.c:789: warning: implicit declaration of function `mtx_exit' > ../../i386/isa/cy.c: In function `cyhardclose': > ../../i386/isa/cy.c:889: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cyinput': > ../../i386/isa/cy.c:1035: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cyintr': > ../../i386/isa/cy.c:1117: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cypoll': > ../../i386/isa/cy.c:1783: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cyparam': > ../../i386/isa/cy.c:2029: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cysetwater': > ../../i386/isa/cy.c:2284: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cystart': > ../../i386/isa/cy.c:2332: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cystop': > ../../i386/isa/cy.c:2477: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cymctl': > ../../i386/isa/cy.c:2557: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cywakeup': > ../../i386/isa/cy.c:2669: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cd_etc': > ../../i386/isa/cy.c:2840: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cd_getreg': > ../../i386/isa/cy.c:2884: `MTX_SPIN' undeclared (first use in this function) > ../../i386/isa/cy.c: In function `cd_setreg': > ../../i386/isa/cy.c:2913: `MTX_SPIN' undeclared (first use in this function) > *** Error code 1 > > Stop in /syv/src/sys/compile/LINT. > syv# This looks to be due to the simplelock changes. I'm a bit confused as to why LINT compiled fine for me... I'll take a look at it as soon as I get a chance. Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message