cleanup strings endian and elf headers

This commit is contained in:
auronandace
2026-01-20 15:43:35 +00:00
parent ca46905fa9
commit c7e45afd23
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
//!
//! Non-POSIX, see <https://www.man7.org/linux/man-pages/man5/elf.5.html>.
use crate::platform::types::*;
use crate::platform::types::{c_char, c_uchar, int32_t, int64_t, uint16_t, uint32_t, uint64_t};
pub type Elf32_Half = uint16_t;
pub type Elf64_Half = uint16_t;
+1 -1
View File
@@ -2,7 +2,7 @@
//!
//! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/endian.h.html>.
use crate::platform::types::*;
use crate::platform::types::{uint16_t, uint32_t, uint64_t};
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/be16toh.html>.
#[unsafe(no_mangle)]
+1 -1
View File
@@ -14,7 +14,7 @@ use core::{
use crate::{
header::{ctype, string},
iter::NulTerminated,
platform::types::*,
platform::types::{c_char, c_int, c_long, c_longlong, c_void, size_t},
};
/// See <https://pubs.opengroup.org/onlinepubs/009695399/functions/bcmp.html>.