mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
We have memset() and memcpy() in the kernel now, so we don't need to
#define them to bzero and bcopy. Spotted by: FlexeLint
This commit is contained in:
parent
4141b621ac
commit
962414a120
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105578
@ -46,11 +46,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
static void MD5Transform(u_int32_t [4], const unsigned char [64]);
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define memset(x,y,z) bzero(x,z);
|
||||
#define memcpy(x,y,z) bcopy(y, x, z)
|
||||
#endif
|
||||
|
||||
#if (BYTE_ORDER == LITTLE_ENDIAN)
|
||||
#define Encode memcpy
|
||||
#define Decode memcpy
|
||||
|
Loading…
Reference in New Issue
Block a user