瀏覽代碼

header/sys_un: Set sockaddr_un members to public.

Future commits will make use of this, in order to support AF_UNIX
sockets.
Tiago Lam 5 年之前
父節點
當前提交
2bc667f71c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/header/sys_un/mod.rs

+ 2 - 2
src/header/sys_un/mod.rs

@@ -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],
 }