diff options
author | Baoshan Pang <baoshan.pang@windriver.com> | 2019-09-25 17:19:40 -0700 |
---|---|---|
committer | Baoshan Pang <baoshan.pang@windriver.com> | 2019-09-25 17:19:40 -0700 |
commit | 740ac0c2d0987a7556e1273d5d25e4e7a5ca15e8 (patch) | |
tree | a05d5ed68580fa794f9cf2a8ba99d2581c038449 | |
parent | fc80bbbf98f5f5abc6401fa363cc13f8dbabd3ef (diff) | |
download | rust-libc-740ac0c2d0987a7556e1273d5d25e4e7a5ca15e8.tar.gz |
Using 'Option' with ::
-rwxr-xr-x | src/vxworks/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index bb931b713f..cc7525c31c 100755 --- a/src/vxworks/mod.rs +++ b/src/vxworks/mod.rs @@ -416,9 +416,10 @@ s_no_extra_traits! { } pub union sa_u_t { - pub sa_handler : Option<unsafe extern "C" fn(::c_int) -> !>, - pub sa_sigaction: Option<unsafe extern "C" fn(::c_int, *mut ::siginfo_t, - *mut ::c_void) -> !>, + pub sa_handler : ::Option<unsafe extern "C" fn(::c_int) -> !>, + pub sa_sigaction: ::Option<unsafe extern "C" fn(::c_int, + *mut ::siginfo_t, + *mut ::c_void) -> !>, } pub union sigval { |