only import the needed types in netdb and poll
This commit is contained in:
@@ -31,7 +31,7 @@ use crate::{
|
||||
platform::{
|
||||
self, Pal, Sys,
|
||||
rlb::{Line, RawLineBuffer},
|
||||
types::*,
|
||||
types::{c_char, c_int, c_ulong, c_void},
|
||||
},
|
||||
raw_cell::RawCell,
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@ use crate::{
|
||||
},
|
||||
time::timespec,
|
||||
},
|
||||
platform::types::*,
|
||||
platform::types::{c_int, c_short, c_ulong},
|
||||
};
|
||||
|
||||
pub const POLLIN: c_short = 0x001;
|
||||
|
||||
Reference in New Issue
Block a user