Fix warnings
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//! pthread.h implementation for Redox, following https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html
|
||||
|
||||
use core::{cell::Cell, ptr::NonNull};
|
||||
use core::cell::Cell;
|
||||
|
||||
use crate::{
|
||||
header::{sched::*, time::timespec},
|
||||
platform::{self, types::*, Pal, Sys},
|
||||
platform::{types::*, Pal, Sys},
|
||||
pthread,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
use super::*;
|
||||
|
||||
use crate::{header::errno::*, pthread::Errno};
|
||||
|
||||
use core::sync::atomic::AtomicI32 as AtomicInt;
|
||||
use crate::pthread::Errno;
|
||||
|
||||
// PTHREAD_MUTEX_INITIALIZER is defined in bits_pthread/cbindgen.toml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user