only import needed types in locale and sched

This commit is contained in:
auronandace
2025-12-04 09:11:57 +00:00
parent f0850889d2
commit 1ce298eaa9
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
use core::ptr;
use crate::platform::types::*;
use crate::platform::types::{c_char, c_int};
const EMPTY_PTR: *const c_char = "\0" as *const _ as *const c_char;
// Can't use &str because of the mutability
+4 -1
View File
@@ -5,7 +5,10 @@
use crate::{
error::ResultExt,
header::time::timespec,
platform::{Pal, Sys, types::*},
platform::{
Pal, Sys,
types::{c_int, pid_t},
},
};
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sched.h.html>.