From owner-cvs-all Fri Dec 3 1:22:56 1999 Delivered-To: cvs-all@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 206ED150F6; Fri, 3 Dec 1999 01:22:50 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup5-25.iptelecom.net.ua [212.9.227.25]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id LAA19521; Fri, 3 Dec 1999 11:25:56 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id LAA12155; Fri, 3 Dec 1999 11:21:55 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <38478BB2.4B119713@altavista.net> Date: Fri, 03 Dec 1999 11:21:55 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Archie Cobbs Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/net bpf.h bpf_filter.c References: <199912021936.LAA29218@freefall.freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Archie Cobbs wrote: > archie 1999/12/02 11:36:06 PST > > Modified files: > sys/net bpf.h bpf_filter.c > Log: > Add 'const' to the bpf_filter() and bpf_validate() prototypes. > Remove a stale comment from bpf_validate(). It seems that this commit broke kernel builds for kernels w/o "pseudo-device bpf": cc -c -O2 -pipe -march=pentium -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat -extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -D_KERNEL -elf -mpreferred-stack-boundary=2 ../../net/bpf.c ../../net/bpf.c: In function `bpf_filter': ../../net/bpf.c:1316: argument `pc' doesn't match prototype ../../net/bpf.h:234: prototype declaration *** Error code 1 -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message