diff options
author | Johannes Schilling <dario@deaktualisierung.org> | 2019-05-31 22:31:51 +0200 |
---|---|---|
committer | Johannes Schilling <dario@deaktualisierung.org> | 2019-05-31 22:31:51 +0200 |
commit | aa86dba83fae3d87fd1a9cb83a894c04ff5096dd (patch) | |
tree | 431daa76d7e3deea9f29baf3673486292115263f /src/sys/inotify.rs | |
parent | ee439049a09736f96d30497e4f288ee09985789e (diff) | |
download | nix-aa86dba83fae3d87fd1a9cb83a894c04ff5096dd.zip |
libc::uint32_t -> rust u32
Diffstat (limited to 'src/sys/inotify.rs')
-rw-r--r-- | src/sys/inotify.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/inotify.rs b/src/sys/inotify.rs index 91cc48d3..e6c2cf64 100644 --- a/src/sys/inotify.rs +++ b/src/sys/inotify.rs @@ -27,7 +27,6 @@ use libc; use libc::{ c_char, c_int, - uint32_t }; use std::ffi::{OsString,OsStr,CStr}; use std::os::unix::ffi::OsStrExt; @@ -40,7 +39,7 @@ use errno::Errno; libc_bitflags! { /// Configuration options for [`inotify_add_watch`](fn.inotify_add_watch.html). - pub struct AddWatchFlags: uint32_t { + pub struct AddWatchFlags: u32 { IN_ACCESS; IN_MODIFY; IN_ATTRIB; |