diff --git a/src/unix/notbsd/android/b32.rs b/src/unix/notbsd/android/b32.rs index 6041dcdbc1ad7468c41cf3312e1bf9a3ac9afe71..ae9b6241c5b6c99fb54c14352be9b6917e99d0ad 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 36c9c0ed7d312651a6def463c1f54526b4d0ce5e..2749a6559a9318c2f1e63ffc1016b7da4f7f70cd 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;