Date: Fri, 03 Dec 1999 11:21:55 +0200 From: Maxim Sobolev <sobomax@altavista.net> To: Archie Cobbs <archie@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/net bpf.h bpf_filter.c Message-ID: <38478BB2.4B119713@altavista.net> References: <199912021936.LAA29218@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38478BB2.4B119713>