On 6/4/17 4:27 PM, Ed Maste wrote: > On 4 June 2017 at 14:06, Bryan Drewery <bdrew...@freebsd.org> wrote: >> >> In r189170. It seems to me we should change systm.h back to a macro >> #define memmove(dst, src, len) bcopy((src), (dst), (len)) > > Note that they're not quite equivalent: memmove returns dst, while > bcopy has no return value. >
#define memmove(dst, src, len) (bcopy((src), (dst), (len)), dst) Obscure comma operator, or we just add an inline memmove in systm.h too. -- Regards, Bryan Drewery
signature.asc
Description: OpenPGP digital signature