Date: Wed, 14 Jan 2004 00:36:36 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys libkern.h Message-ID: <200401140836.i0E8aaJI020234@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2004/01/14 00:36:36 PST FreeBSD src repository Modified files: sys/sys libkern.h Log: #include <machine/cpufunc.h>, which may define inline versions of some of the functions in libkern. Without this, parts of the kernel would reference a non-existent (undeclared and undefined) ffs() function; the only reason this didn't break the kernel build is that gcc happens to have a built-in ffs() and incorrectly fails to warn about the lack of prototypes for built-in functions. Revision Changes Path 1.41 +2 -0 src/sys/sys/libkern.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401140836.i0E8aaJI020234>