cleanup hosted mode warnings

This commit is contained in:
bunnie 2024-04-01 15:38:32 +08:00
parent 6c4e899a5a
commit 39d549e9a0
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,8 @@ use std::mem::size_of;
use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpStream, ToSocketAddrs};
use std::sync::{Arc, Condvar, Mutex};
use crate::{Result, SysCall, SysCallResult, PID, TID};
pub use crate::PID;
use crate::{Result, SysCall, SysCallResult, TID};
mod mem;
pub use mem::*;

View file

@ -1,7 +1,6 @@
use core::convert::{TryFrom, TryInto};
use super::CHILD_PROCESS_ADDRESS;
pub use crate::PID;
/// A 16-byte random nonce that identifies this process to the kernel. This
/// is usually provided through the environment variable `XOUS_PROCESS_KEY`.