summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-09-03 06:04:16 +0000
committerpeter <peter@FreeBSD.org>2000-09-03 06:04:16 +0000
commit17525e969e5709f9d8d5c11c8e93ffab85273e98 (patch)
tree7d88069a2f250ff1f302d2c1654c1b8f1054d707 /sys
parent5b3b8d25cc23586dfc44bdc2d8ae7d727cdd6522 (diff)
downloadFreeBSD-src-17525e969e5709f9d8d5c11c8e93ffab85273e98.zip
FreeBSD-src-17525e969e5709f9d8d5c11c8e93ffab85273e98.tar.gz
libkern.h now internally uses the bzero() definition from sys/systm.h.
This is kinda important since the bzero symbol on i386 is not a function but a function pointer.. If memset() tried to call it as though it were a function, things would be less than satisfactory. In reality though this was not an actual problem and just caused compile warnings.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/libkern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h
index e9841d5..1e106a9 100644
--- a/sys/sys/libkern.h
+++ b/sys/sys/libkern.h
@@ -39,6 +39,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
+#include <sys/systm.h>
/* BCD conversions. */
extern u_char const bcd2bin_data[];
OpenPOWER on IntegriCloud