Merge branch 'stdlib-cleanup' into 'master'

stdlib header cleanup

See merge request redox-os/relibc!897
This commit is contained in:
Jeremy Soller
2026-01-20 10:18:09 -07:00
4 changed files with 10 additions and 4 deletions
+7 -1
View File
@@ -31,7 +31,13 @@ use crate::{
},
ld_so,
out::Out,
platform::{self, Pal, Sys, types::*},
platform::{
self, Pal, Sys,
types::{
c_char, c_double, c_float, c_int, c_long, c_longlong, c_uint, c_ulong, c_ulonglong,
c_ushort, c_void, size_t, ssize_t, uintptr_t, wchar_t,
},
},
raw_cell::RawCell,
sync::Once,
};
+1 -1
View File
@@ -1,7 +1,7 @@
//! Helper functions for pseudorandom number generation using LCG, see https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/drand48.html
use crate::{
platform::types::*,
platform::types::{c_double, c_long, c_ushort},
sync::{
Mutex, MutexGuard,
rwlock::{self, RwLock},
+1 -1
View File
@@ -5,7 +5,7 @@
#![deny(unsafe_op_in_unsafe_fn)]
use crate::{
platform::types::*,
platform::types::c_uint,
sync::{Mutex, MutexGuard},
};
use core::{cell::SyncUnsafeCell, convert::TryFrom, ptr};
+1 -1
View File
@@ -1,7 +1,7 @@
// TODO: set this for entire crate when possible
#![deny(unsafe_op_in_unsafe_fn)]
use crate::platform::types::*;
use crate::platform::types::{c_char, c_int, c_void, size_t};
pub unsafe fn introsort(
base: *mut c_char,