header/sys_un: Set sockaddr_un members to public.

Future commits will make use of this, in order to support AF_UNIX
sockets.
This commit is contained in:
Tiago Lam
2020-02-05 22:32:12 +00:00
committed by Tiago Lam
parent 662051a91b
commit 2bc667f71c
+2 -2
View File
@@ -2,6 +2,6 @@ use crate::{header::sys_socket::sa_family_t, platform::types::*};
#[repr(C)]
pub struct sockaddr_un {
sun_family: sa_family_t,
sun_path: [c_char; 108],
pub sun_family: sa_family_t,
pub sun_path: [c_char; 108],
}