mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't define memcpy() to bcopy() and in particular not memset() to
bzero() when we have them all already. Found by: FlexeLint
This commit is contained in:
parent
b2bf0c7f48
commit
16cef37ea3
1 changed files with 0 additions and 3 deletions
|
|
@ -361,9 +361,6 @@ typedef struct thread *usb_proc_ptr;
|
|||
|
||||
#define uio_procp uio_td
|
||||
|
||||
/* XXX Change this when FreeBSD has memset */
|
||||
#define memcpy(d, s, l) bcopy((s),(d),(l))
|
||||
#define memset(d, v, l) bzero((d),(l))
|
||||
#define usb_kthread_create1(f, s, p, a0, a1) \
|
||||
kthread_create((f), (s), (p), RFHIGHPID, 0, (a0), (a1))
|
||||
#define usb_kthread_create2(f, s, p, a0) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue