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.
This commit is contained in:
parent
ab1f00b960
commit
96b2a9d400
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65393
@ -39,6 +39,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/systm.h>
|
||||
|
||||
/* BCD conversions. */
|
||||
extern u_char const bcd2bin_data[];
|
||||
|
Loading…
Reference in New Issue
Block a user