summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epoll.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/epoll.rs b/epoll.rs
index b7279b4..fc2b1e8 100644
--- a/epoll.rs
+++ b/epoll.rs
@@ -36,15 +36,15 @@ pub const EPOLLET: u32 = 0x80000000;
#[cfg(target_arch = "x86_64")]
#[repr(C, packed)]
pub struct epoll_event {
- events: u32,
- data: u64
+ pub events: u32,
+ pub data: u64
}
#[cfg(not(target_arch = "x86_64"))]
#[repr(C)]
pub struct epoll_event {
- events: i32,
- data: u64
+ pub events: i32,
+ pub data: u64
}
mod __glibc {