Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 15:39:49 +0200
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org
Subject:   LINT broken...
Message-ID:  <29879.972481189@critter>

next in thread | raw e-mail | index | archive | help

Somebody killed "swihand_t" without cleaning up three drivers:

otte# ./gsys swihand_t
./i386/isa/cy.c:static  swihand_t siopoll;
./i386/isa/rc.c:static swihand_t rcpoll;
./pc98/pc98/sio.c:static        swihand_t siopoll;



otte# cd /sys/i386/conf
otte# make LINT
`LINT' is up to date.
otte# config LINT
WARNING: Old PCI driver compatability shims present.
WARNING: Old ISA driver compatability shims present.
Don't forget to do a ``make depend''
Kernel build directory is ../../compile/LINT
otte# cd ../../compile/LINT
otte# make cy.o
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../../../include -DGPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg ../../i386/isa/cy.c
../../i386/isa/cy.c:338: syntax error before `cypoll'
../../i386/isa/cy.c:338: warning: type defaults to `int' in declaration of `cypoll'
../../i386/isa/cy.c:338: warning: data definition has no type or storage class
[...]

otte# make rc.o
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../../../include -DGPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg ../../i386/isa/rc.c
../../i386/isa/rc.c:187: syntax error before `rcpoll'
../../i386/isa/rc.c:187: warning: type defaults to `int' in declaration of `rcpoll'
[...]

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


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?29879.972481189>