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
5ddad2e884
commit
30aa5fffc7
@ -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 New Issue
Block a user