Anyone seen this? -- josemi cc -c -Os -fno-strict-aliasing -fomit-frame-pointer -march=pentium -mtune=c3 -pi pe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-proto types -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostd inc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/con trib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/s ys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib /ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param i nline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-string s -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreesta nding -Werror /usr/src/sys/kern/subr_bus.c /usr/src/sys/kern/subr_bus.c:1082: warning: no previous prototype for 'devclass_ get_drivers' *** Error code 1 Stop in /usr/obj/usr/src/sys/ANTARES. *** Error code 1 --- #include <sys/cdefs.h> __FBSDID("$FreeBSD: src/sys/kern/subr_bus.c,v 1.156.2.6 2005/04/14 04:54:15 njl Exp $");
On Thu, Apr 14, 2005 at 01:26:17PM +0200, Jose M Rodriguez wrote:> Anyone seen this?[... /usr/src/sys/kern/subr_bus.c:1082: warning: no previous prototype for 'devclass_get_drivers' *** Error code 1 ... ] Yup; just a few minutes ago, with sys/kern/subr_bus.c rev. 1.156.2.6. Perhaps something was overlooked in the MFC from 2005-04-14 04:54:15 UTC? Peace, david -- David H. Wolfskill david@catwhisker.org There is a place in software engineering for an appreciation of history. See http://www.catwhisker.org/~david/publickey.gpg for public key.