diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-02-18 10:12:24 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-02-18 10:12:24 +0200 |
commit | 41ee6b43c89ce67808a684ba67f69e964b0636fa (patch) | |
tree | fadee7301456711d567df030793c568a745bb522 /lib/endian.h | |
parent | Generate dependency files for source code (diff) | |
download | kernel-41ee6b43c89ce67808a684ba67f69e964b0636fa.tar.xz |
Move C stdlib to lib/libk
Diffstat (limited to 'lib/endian.h')
-rw-r--r-- | lib/endian.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/endian.h b/lib/endian.h deleted file mode 100644 index 70bc5f7..0000000 --- a/lib/endian.h +++ /dev/null @@ -1,17 +0,0 @@ -//===================================================================== -// spdx-license-identifier: ISC -//===================================================================== - -#pragma once - -#include <stdint.h> - -// These functions convert the byte encoding of integer values from host byte order to and from little-endian and -// big-endian byte order -uint16_t htole16(uint16_t host_16b); -uint32_t htole32(uint32_t host_32b); -uint64_t htole64(uint64_t host_64b); - -uint16_t htobe16(uint16_t host_16b); -uint32_t htobe32(uint32_t host_32b); -uint64_t htobe64(uint64_t host_64b); |