From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- tests/headers/endian.c | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 tests/headers/endian.c (limited to 'tests/headers/endian.c') diff --git a/tests/headers/endian.c b/tests/headers/endian.c deleted file mode 100644 index db18c5fc..00000000 --- a/tests/headers/endian.c +++ /dev/null @@ -1,32 +0,0 @@ -// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/endian.h.html - -#include "core.h" - -#include - -TEST(endian_h) -{ - MACRO(BYTE_ORDER); - MACRO(LITTLE_ENDIAN); - MACRO(BIG_ENDIAN); - - FUNCTION(be16toh, FN(uint16_t, uint16_t)); - FUNCTION(be32toh, FN(uint32_t, uint32_t)); - FUNCTION(be64toh, FN(uint64_t, uint64_t)); - - FUNCTION(htobe16, FN(uint16_t, uint16_t)); - FUNCTION(htobe32, FN(uint32_t, uint32_t)); - FUNCTION(htobe64, FN(uint64_t, uint64_t)); - - FUNCTION(htole16, FN(uint16_t, uint16_t)); - FUNCTION(htole32, FN(uint32_t, uint32_t)); - FUNCTION(htole64, FN(uint64_t, uint64_t)); - - FUNCTION(le16toh, FN(uint16_t, uint16_t)); - FUNCTION(le32toh, FN(uint32_t, uint32_t)); - FUNCTION(le64toh, FN(uint64_t, uint64_t)); - - TYPE(uint16_t); - TYPE(uint32_t); - TYPE(uint64_t); -} -- cgit v1.2.3