From 4dd5e95b1d1bf723ea25178e3c1111c3d1c74de6 Mon Sep 17 00:00:00 2001 From: Tilde Engineering Date: Fri, 10 Oct 2014 16:09:15 -0700 Subject: Update static->const --- src/sys/eventfd.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sys/eventfd.rs') diff --git a/src/sys/eventfd.rs b/src/sys/eventfd.rs index a60dcd6e..06cb0a92 100644 --- a/src/sys/eventfd.rs +++ b/src/sys/eventfd.rs @@ -5,9 +5,9 @@ use errno::{SysResult, SysError}; bitflags!( flags EventFdFlag: c_int { - static EFD_CLOEXEC = 0o2000000, // Since Linux 2.6.27 - static EFD_NONBLOCK = 0o0004000, // Since Linux 2.6.27 - static EFD_SEMAPHORE = 0o0000001, // Since Linux 2.6.30 + const EFD_CLOEXEC = 0o2000000, // Since Linux 2.6.27 + const EFD_NONBLOCK = 0o0004000, // Since Linux 2.6.27 + const EFD_SEMAPHORE = 0o0000001, // Since Linux 2.6.30 } ) -- cgit v1.2.3