diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
| commit | 169daa11155988a210fac949297381743f3cb400 (patch) | |
| tree | 602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libc/endian | |
| parent | 4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff) | |
feat: clang-tidy fixes
Diffstat (limited to 'lib/libc/endian')
| -rw-r--r-- | lib/libc/endian/be16toh.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/be32toh.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/be64toh.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/htobe16.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/htobe32.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/htobe64.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/htole16.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/htole32.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/htole64.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/le16toh.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/le32toh.c | 4 | ||||
| -rw-r--r-- | lib/libc/endian/le64toh.c | 4 |
12 files changed, 24 insertions, 24 deletions
diff --git a/lib/libc/endian/be16toh.c b/lib/libc/endian/be16toh.c index 9a5e8ff3..c5efa9a1 100644 --- a/lib/libc/endian/be16toh.c +++ b/lib/libc/endian/be16toh.c @@ -1,5 +1,5 @@ -#include <endian.h> // for be16toh -#include <stdint.h> // for uint16_t +#include <endian.h> // for uint16_t, be16toh +#include <stdint.h> uint16_t be16toh(uint16_t big_endian_16bits) { diff --git a/lib/libc/endian/be32toh.c b/lib/libc/endian/be32toh.c index d87c9f58..18440dd5 100644 --- a/lib/libc/endian/be32toh.c +++ b/lib/libc/endian/be32toh.c @@ -1,5 +1,5 @@ -#include <endian.h> // for be32toh -#include <stdint.h> // for uint32_t +#include <endian.h> // for uint32_t, be32toh +#include <stdint.h> uint32_t be32toh(uint32_t big_endian_32bits) { diff --git a/lib/libc/endian/be64toh.c b/lib/libc/endian/be64toh.c index 6ccdb175..6402fa07 100644 --- a/lib/libc/endian/be64toh.c +++ b/lib/libc/endian/be64toh.c @@ -1,5 +1,5 @@ -#include <endian.h> // for be64toh -#include <stdint.h> // for uint64_t +#include <endian.h> // for uint64_t, be64toh +#include <stdint.h> uint64_t be64toh(uint64_t big_endian_64bits) { diff --git a/lib/libc/endian/htobe16.c b/lib/libc/endian/htobe16.c index 915296f3..2b5eff4d 100644 --- a/lib/libc/endian/htobe16.c +++ b/lib/libc/endian/htobe16.c @@ -1,5 +1,5 @@ -#include <endian.h> // for htobe16 -#include <stdint.h> // for uint16_t +#include <endian.h> // for uint16_t, htobe16 +#include <stdint.h> uint16_t htobe16(uint16_t host_16bits) { diff --git a/lib/libc/endian/htobe32.c b/lib/libc/endian/htobe32.c index 378c6c20..cbc5037f 100644 --- a/lib/libc/endian/htobe32.c +++ b/lib/libc/endian/htobe32.c @@ -1,5 +1,5 @@ -#include <endian.h> // for htobe32 -#include <stdint.h> // for uint32_t +#include <endian.h> // for uint32_t, htobe32 +#include <stdint.h> uint32_t htobe32(uint32_t host_32bits) { diff --git a/lib/libc/endian/htobe64.c b/lib/libc/endian/htobe64.c index 54a363c8..3d322096 100644 --- a/lib/libc/endian/htobe64.c +++ b/lib/libc/endian/htobe64.c @@ -1,5 +1,5 @@ -#include <endian.h> // for htobe64 -#include <stdint.h> // for uint64_t +#include <endian.h> // for uint64_t, htobe64 +#include <stdint.h> uint64_t htobe64(uint64_t host_64bits) { diff --git a/lib/libc/endian/htole16.c b/lib/libc/endian/htole16.c index 9bdd1675..6689664f 100644 --- a/lib/libc/endian/htole16.c +++ b/lib/libc/endian/htole16.c @@ -1,5 +1,5 @@ -#include <endian.h> // for htole16 -#include <stdint.h> // for uint16_t +#include <endian.h> // for uint16_t, htole16 +#include <stdint.h> uint16_t htole16(uint16_t host_16bits) { diff --git a/lib/libc/endian/htole32.c b/lib/libc/endian/htole32.c index bf4771bd..e5b0ae42 100644 --- a/lib/libc/endian/htole32.c +++ b/lib/libc/endian/htole32.c @@ -1,5 +1,5 @@ -#include <endian.h> // for htole32 -#include <stdint.h> // for uint32_t +#include <endian.h> // for uint32_t, htole32 +#include <stdint.h> uint32_t htole32(uint32_t host_32bits) { diff --git a/lib/libc/endian/htole64.c b/lib/libc/endian/htole64.c index acd2fb14..848d61eb 100644 --- a/lib/libc/endian/htole64.c +++ b/lib/libc/endian/htole64.c @@ -1,5 +1,5 @@ -#include <endian.h> // for htole64 -#include <stdint.h> // for uint64_t +#include <endian.h> // for uint64_t, htole64 +#include <stdint.h> uint64_t htole64(uint64_t host_64bits) { diff --git a/lib/libc/endian/le16toh.c b/lib/libc/endian/le16toh.c index 620be0c1..75b80fd1 100644 --- a/lib/libc/endian/le16toh.c +++ b/lib/libc/endian/le16toh.c @@ -1,5 +1,5 @@ -#include <endian.h> // for le16toh -#include <stdint.h> // for uint16_t +#include <endian.h> // for uint16_t, le16toh +#include <stdint.h> uint16_t le16toh(uint16_t little_endian_16bits) { diff --git a/lib/libc/endian/le32toh.c b/lib/libc/endian/le32toh.c index c053c1b2..2316d559 100644 --- a/lib/libc/endian/le32toh.c +++ b/lib/libc/endian/le32toh.c @@ -1,5 +1,5 @@ -#include <endian.h> // for le32toh -#include <stdint.h> // for uint32_t +#include <endian.h> // for uint32_t, le32toh +#include <stdint.h> uint32_t le32toh(uint32_t little_endian_32bits) { diff --git a/lib/libc/endian/le64toh.c b/lib/libc/endian/le64toh.c index 409863f2..445da0e3 100644 --- a/lib/libc/endian/le64toh.c +++ b/lib/libc/endian/le64toh.c @@ -1,5 +1,5 @@ -#include <endian.h> // for le64toh -#include <stdint.h> // for uint64_t +#include <endian.h> // for uint64_t, le64toh +#include <stdint.h> uint64_t le64toh(uint64_t little_endian_64bits) { |
