https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244962

--- Comment #9 from Mateusz Guzik <m...@freebsd.org> ---
Quick grep reveals stuff like:
src/VBox/Additions/x11/x11include/XFree86-4.3/X11/Xfuncs.h:
#else /* else vanilla BSD */
#define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
#define memcpy(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
#define memcmp(b1,b2,len) bcmp((char *)(b1),(char *)(b2),(int)(len))

All defines of the sort should be eliminated from all files -- memmove, memcpy
and memcmp are provided as first class citizens both in the kernel and libc.
For kernel code, previously mentioned sys/systm.h header needs to be included.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to