git: 36fc38301824 - main - Remove bcopy declaration

Mateusz Guzik mjg at FreeBSD.org
Tue Aug 24 11:24:17 UTC 2021


The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=36fc38301824e2d6ca774200d8be972a6196f353

commit 36fc38301824e2d6ca774200d8be972a6196f353
Author:     Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-08-24 11:22:56 +0000
Commit:     Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-08-24 11:24:08 +0000

    Remove bcopy declaration
    
    The kernel was migrated to memmove in ba96f37758412151 ("Use __builtin
    for various mem* and b* (e.g. bzero) routines.").
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/sys/systm.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 17d1e8933997..17c110a957c9 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -341,7 +341,6 @@ void	hexdump(const void *ptr, int length, const char *hdr, int flags);
 #define	HD_OMIT_CHARS	(1 << 18)
 
 #define ovbcopy(f, t, l) bcopy((f), (t), (l))
-void	bcopy(const void * _Nonnull from, void * _Nonnull to, size_t len);
 void	explicit_bzero(void * _Nonnull, size_t);
 
 void	*memset(void * _Nonnull buf, int c, size_t len);


More information about the dev-commits-src-all mailing list