Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 1999 12:13:43 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        phk@FreeBSD.ORG (Poul-Henning Kamp)
Cc:        current@FreeBSD.ORG
Subject:   Re: LINT broken!
Message-ID:  <199904021013.MAA18297@labinfo.iet.unipi.it>
In-Reply-To: <35324.923049608@critter.freebsd.dk> from "Poul-Henning Kamp" at Apr 2, 99 12:39:49 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> n file included from ../../ntfs/ntfs_vnops.c:66:
> ../../ntfs/ntfs.h:29: warning: `DIAGNOSTIC' redefined
> opt_global.h:13: warning: this is the location of the previous definition
> 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  -DKERNEL -DVM_STACK -include opt_global.h -elf  ../../net/bridge.c
> ../../net/bridge.c: In function `bdg_forward':
> ../../net/bridge.c:530: `ip' undeclared (first use this function)
> ../../net/bridge.c:530: (Each undeclared identifier is reported only once
> ../../net/bridge.c:530: for each function it appears in.)

i think it wasn't me :)

it probably has to do with <netinet/ip.h> being included only when both
IPFIREWALL and DUMMYNET are defined, but then used even when just
IPFIREWALL is defined.
At least this is how it is in 2.2.X

don't know who  last edited the file, but the fix should be fairly
straightforward.


	cheers
	luigi


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?199904021013.MAA18297>