Merge "Nullability check for swab module." am: 056ffc6b9c am: 1f8c788349 am: 376afcf94f

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2566618

Change-Id: I0ff0bb30fd4bc7e6737d5b674abb3cc0334d31fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-04-27 23:12:28 +00:00 committed by Automerger Merge Worker
commit 4154261877

View file

@ -38,7 +38,7 @@
__BEGIN_DECLS
__BIONIC_SWAB_INLINE void swab(const void* __void_src, void* __void_dst, ssize_t __byte_count) {
__BIONIC_SWAB_INLINE void swab(const void* _Nonnull __void_src, void* _Nonnull __void_dst, ssize_t __byte_count) {
const uint8_t* __src = __BIONIC_CAST(static_cast, const uint8_t*, __void_src);
uint8_t* __dst = __BIONIC_CAST(static_cast, uint8_t*, __void_dst);
while (__byte_count > 1) {