Merge branch 'only-needed-sys-un-uio' into 'master'
only import the needed types in sys_un and sys_uio See merge request redox-os/relibc!770
This commit is contained in:
@@ -7,7 +7,10 @@ use core::slice;
|
||||
|
||||
use crate::{
|
||||
header::{errno, unistd},
|
||||
platform::{self, types::*},
|
||||
platform::{
|
||||
self,
|
||||
types::{c_int, c_void, off_t, size_t, ssize_t},
|
||||
},
|
||||
};
|
||||
|
||||
pub const IOV_MAX: c_int = 1024;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//!
|
||||
//! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_un.h.html>.
|
||||
|
||||
use crate::{header::sys_socket::sa_family_t, platform::types::*};
|
||||
use crate::{header::sys_socket::sa_family_t, platform::types::c_char};
|
||||
|
||||
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_un.h.html>.
|
||||
#[repr(C)]
|
||||
|
||||
Reference in New Issue
Block a user