arpa_inet and semaphore header cleanup

This commit is contained in:
auronandace
2025-12-31 09:14:21 +00:00
parent 806b3657f1
commit 6e25b2be7f
4 changed files with 9 additions and 6 deletions
+6 -3
View File
@@ -13,11 +13,14 @@ use core::{
use crate::{
c_str::CStr,
header::{
errno::*,
errno::{EAFNOSUPPORT, ENOSPC},
netinet_in::{INADDR_NONE, in_addr, in_addr_t, ntohl},
sys_socket::{constants::*, socklen_t},
sys_socket::{constants::AF_INET, socklen_t},
},
platform::{
self,
types::{c_char, c_int, c_void},
},
platform::{self, types::*},
raw_cell::RawCell,
};
+1 -1
View File
@@ -4,7 +4,7 @@
use crate::{
header::time::{CLOCK_MONOTONIC, CLOCK_REALTIME, timespec},
platform::types::*,
platform::types::{c_char, c_int, c_long, c_uint, clockid_t},
};
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/semaphore.h.html>.
+1 -1
View File
@@ -27,7 +27,7 @@ use crate::{
time::timespec,
},
out::Out,
platform::{Pal, Sys, types::*},
platform::{Pal, Sys, types::c_int},
};
use core::{
mem::MaybeUninit,
+1 -1
View File
@@ -3,7 +3,7 @@
use crate::{
header::time::{CLOCK_MONOTONIC, clock_gettime, timespec},
platform::types::*,
platform::types::{c_uint, clockid_t},
};
use core::sync::atomic::{AtomicU32, Ordering};