Merge "Nullability check for swab module." am: 056ffc6b9c

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

Change-Id: I1d36b045c7643b44841f309ebf91f6d065e79faf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-04-27 21:38:13 +00:00 committed by Automerger Merge Worker
commit 1f8c788349

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) {