From dd3b423faa2fad8ff312da353cf19404dab66608 Mon Sep 17 00:00:00 2001 From: Alex Crichton <alex@alexcrichton.com> Date: Sun, 6 Mar 2016 11:23:13 -0800 Subject: [PATCH] Fix some more style --- src/unix/notbsd/android/b32.rs | 4 ++-- src/unix/notbsd/android/b64.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/unix/notbsd/android/b32.rs b/src/unix/notbsd/android/b32.rs index 6041dcdb..ae9b6241 100644 --- a/src/unix/notbsd/android/b32.rs +++ b/src/unix/notbsd/android/b32.rs @@ -1,7 +1,5 @@ pub type mode_t = u16; -pub const SYS_gettid: ::c_int = 224; - s! { pub struct sigaction { pub sa_sigaction: ::sighandler_t, @@ -10,3 +8,5 @@ s! { pub sa_restorer: ::dox::Option<extern fn()>, } } + +pub const SYS_gettid: ::c_int = 224; diff --git a/src/unix/notbsd/android/b64.rs b/src/unix/notbsd/android/b64.rs index 36c9c0ed..2749a655 100644 --- a/src/unix/notbsd/android/b64.rs +++ b/src/unix/notbsd/android/b64.rs @@ -1,7 +1,5 @@ pub type mode_t = u32; -pub const SYS_gettid: ::c_int = 178; - s! { pub struct sigaction { pub sa_flags: ::c_uint, @@ -10,3 +8,5 @@ s! { _restorer: *mut ::c_void, } } + +pub const SYS_gettid: ::c_int = 178; -- GitLab