summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-12-22 14:31:22 -0800
committerCarl Lerche <me@carllerche.com>2015-12-22 14:31:22 -0800
commit3154b7da011bba35a2615d00160676bdb7c41cb5 (patch)
treeb6f980a3631b60714b76b6794ccc5c2b456e5cf2 /src
parent6479adfab4141b917f0df6cf6dc36e1688087afa (diff)
downloadnix-3154b7da011bba35a2615d00160676bdb7c41cb5.zip
Fix build on Linux & Rust nightly
Diffstat (limited to 'src')
-rw-r--r--src/sched.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs
index 9783a469..da37d7df 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -120,7 +120,7 @@ mod ffi {
use libc::{c_void, c_int, pid_t, size_t};
use super::CpuSet;
- type CloneCb = extern "C" fn (data: *const super::CloneCb) -> c_int;
+ pub type CloneCb = extern "C" fn (data: *const super::CloneCb) -> c_int;
// We cannot give a proper #[repr(C)] to super::CloneCb
#[allow(improper_ctypes)]