summaryrefslogtreecommitdiff
path: root/src/sys/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/event.rs')
-rw-r--r--src/sys/event.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/event.rs b/src/sys/event.rs
index 405f38fc..f1ba1f4c 100644
--- a/src/sys/event.rs
+++ b/src/sys/event.rs
@@ -78,7 +78,7 @@ pub type type_of_event_flag = u16;
#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
pub type type_of_event_flag = u32;
libc_bitflags!{
- flags EventFlag: type_of_event_flag {
+ pub flags EventFlag: type_of_event_flag {
EV_ADD,
EV_CLEAR,
EV_DELETE,
@@ -106,7 +106,7 @@ libc_bitflags!{
}
bitflags!(
- flags FilterFlag: u32 {
+ pub flags FilterFlag: u32 {
#[cfg(any(target_os = "macos", target_os = "ios"))]
const NOTE_ABSOLUTE = libc::NOTE_ABSOLUTE,
const NOTE_ATTRIB = libc::NOTE_ATTRIB,