Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2021 11:24:16 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: 36fc38301824 - main - Remove bcopy declaration
Message-ID:  <202108241124.17OBOGxs059853@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=36fc38301824e2d6ca774200d8be972a6196f353

commit 36fc38301824e2d6ca774200d8be972a6196f353
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-08-24 11:22:56 +0000
Commit:     Mateusz Guzik <mjg@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108241124.17OBOGxs059853>