Fix warnings

This commit is contained in:
Noa
2022-08-29 21:00:14 -05:00
parent acbe323656
commit df6f4678e8
25 changed files with 40 additions and 108 deletions
+2 -2
View File
@@ -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 -3
View File
@@ -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