Date: Mon, 12 Dec 2011 20:21:11 +1100 From: Lawrence Stewart <lstewart@freebsd.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r228430 - head/sys/kern Message-ID: <4EE5C787.9080905@freebsd.org> In-Reply-To: <201112120746.pBC7kAmF089105@svn.freebsd.org> References: <201112120746.pBC7kAmF089105@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/12/11 18:46, Andriy Gapon wrote: > Author: avg > Date: Mon Dec 12 07:46:10 2011 > New Revision: 228430 > URL: http://svn.freebsd.org/changeset/base/228430 > > Log: > kern_racct: move sys/systm.h inclusion to its proper place > > This should fix the build failure introduced with r228424. > Also remove duplicate inclusion of sys/param.h. > > Pointyhat to: avg > MFC after: 1 week lstewart@lstewart3:head> svn up Updating '.': At revision 228430. lstewart@lstewart3:head> make -DNO_CLEAN KERNCONF=LINT buildkernel [...] cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/work/svn/freebsd_mirror/head/sys -I/work/svn/freebsd_mirror/head/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /work/svn/freebsd_mirror/head/sys/kern/kern_sx.c cc1: warnings being treated as errors In file included from /work/svn/freebsd_mirror/head/sys/kern/kern_sx.c:52: /work/svn/freebsd_mirror/head/sys/sys/sx.h: In function '__sx_xlock': /work/svn/freebsd_mirror/head/sys/sys/sx.h:154: warning: implicit declaration of function 'SCHEDULER_STOPPED' /work/svn/freebsd_mirror/head/sys/sys/sx.h:154: warning: nested extern declaration of 'SCHEDULER_STOPPED' [-Wnested-externs] *** Error code 1 Stop in /usr/obj/work/svn/freebsd_mirror/head/sys/LINT. *** Error code 1 Stop in /work/svn/freebsd_mirror/head. *** Error code 1 Stop in /work/svn/freebsd_mirror/head. Perhaps another place which needs a fix similar to r228430? Cheers, Lawrence
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EE5C787.9080905>