cvs commit: src/sys/sys libkern.h
Dag-Erling Smorgrav
des at FreeBSD.org
Wed Jan 14 00:36:37 PST 2004
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
More information about the cvs-src
mailing list