Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 12:49:04 -0800
From:      Jason Evans <jasone@canonware.com>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: cy.c doesn't compile in LINT
Message-ID:  <20010124124904.A87569@canonware.com>
In-Reply-To: <33283.980367666@critter>; from phk@freebsd.org on Wed, Jan 24, 2001 at 09:21:06PM %2B0100
References:  <33283.980367666@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124124904.A87569>