Date: Tue, 24 Aug 2021 11:24:15 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7ec4365671e3 - main - libkern: remove bcopy Message-ID: <202108241124.17OBOFOd059829@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=7ec4365671e395f99e32f954e2f83b735aca4ac7 commit 7ec4365671e395f99e32f954e2f83b735aca4ac7 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-08-24 11:21:52 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2021-08-24 11:24:07 +0000 libkern: remove bcopy Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero) routines.") File name remains to reduce churn. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/libkern/bcopy.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sys/libkern/bcopy.c b/sys/libkern/bcopy.c index 8e34ad0daa53..833a9854f181 100644 --- a/sys/libkern/bcopy.c +++ b/sys/libkern/bcopy.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #undef memcpy #undef memmove -#undef bcopy /* * sizeof(word) MUST BE A POWER OF TWO @@ -147,10 +146,3 @@ done: } __strong_reference(memcpy, memmove); - -void -(bcopy)(const void *src0, void *dst0, size_t length) -{ - - memcpy(dst0, src0, length); -}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108241124.17OBOFOd059829>