only import needed types in locale and sched
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user