zephyr/tests/lib
Jonathan Hamberg 9c1a45cc00 posix: Fix name collision with __bswap
__bswap_ in zephyr/sys/byteorder.h conflicts with __bswap_ in host's
byteswap.h. byteswap.h from host compiler used in posix_native_64 boards
causes a compilation issue.

This commit renames __bswap_ to BSWAP_ to prevent collision.

Before this commit a compilation error can be created by adding #include
<byteswap.h> to samples/net/sockets/echo/src/socket_echo.c

This does not change external API to byteorder.h, but does change
internal implementation which some other source files depend on.

Replaced manual byteswap operations in devmem_service.c with APIs from
byteorder.h which automatically converts to CPU endianess when necessary.

Fixes #44324

Signed-off-by: Jonathan Hamberg <jonathanhamberg@gmail.com>
2024-01-10 18:13:44 +00:00
..
acpi tests: lib: acpi: Convert to FFF 2023-12-19 11:04:19 +01:00
c_lib tests: lib: c_lib: fix double promotion error 2023-12-18 09:21:12 +00:00
cbprintf_fp
cbprintf_package tests: lib: cbprintf_package: Add test case for cbprintf_convert 2023-12-28 12:18:50 +00:00
cmsis_dsp
cmsis_nn
cpp posix: Fix name collision with __bswap 2024-01-10 18:13:44 +00:00
devicetree boards: xtensa: add Kincony KC868-A32 module suppport 2024-01-08 14:21:30 +01:00
fdtable
gui/lvgl
hash_function
hash_map
heap
heap_align
json
linear_range
mem_alloc
mem_blocks
mem_blocks_stats
mpsc_pbuf
multi_heap lib: heap: make multi-heap feature configurable 2023-12-13 17:27:54 -05:00
newlib
notify
onoff
p4workq
ringbuffer
shared_multi_heap tests: shared_multi_heap: fix identifier 2023-12-13 17:27:54 -05:00
smf
sprintf
spsc_pbuf
sys_util
thrift/ThriftTest
time