diff options
author | Kent Overstreet <kmo@daterainc.com> | 2014-11-26 22:36:36 -0800 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-11-26 22:38:26 -0800 |
commit | a083fe7093619059a72d7b010a7a9a548b2f0b85 (patch) | |
tree | d6d8f1c823f0968ca35ac2d7ca054671b8c7e07f | |
parent | e6c6f8c7728efae0182ceebbcd72f60f3a609a6c (diff) |
-rw-r--r-- | epoll.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 { |