diff options
author | bde <bde@FreeBSD.org> | 2004-03-11 13:38:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-03-11 13:38:54 +0000 |
commit | 7bc1e8430f506e280c938a7c71fde6d35ea1b594 (patch) | |
tree | 22a1667994997c003b9348324905179d79d21145 /sys/dev/sf | |
parent | fdd216910ffbe9a4c619c30e436cc4494c4aa76d (diff) | |
download | FreeBSD-src-7bc1e8430f506e280c938a7c71fde6d35ea1b594.zip FreeBSD-src-7bc1e8430f506e280c938a7c71fde6d35ea1b594.tar.gz |
Don't implement anything in the ffs family in <machine/cpufunc.h>
in the non-_KERNEL case. This "fixes" applications that include
this "kernel-only" header and also include <strings.h> (or get
<strings.h> via the default _BSD_VISIBLE pollution in <string.h>.
In C++ there was a fatal error: the declaration specifies C linkage
but the implementation gives C++ linkage. In C there was only a
static/extern mismatch if the headers were included in a certain order
order, and a partially redundant declaration for all include orders;
gcc emits incomplete or wrong diagnostics for these, but only for
compiling with -Wsystem-headers and certain other warning options, so
the problem was usually not seen for C.
Ports breakage reported by: kris
Diffstat (limited to 'sys/dev/sf')
0 files changed, 0 insertions, 0 deletions