cleanup strings endian and elf headers
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user