From 3154b7da011bba35a2615d00160676bdb7c41cb5 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 22 Dec 2015 14:31:22 -0800 Subject: [PATCH] Fix build on Linux & Rust nightly --- src/sched.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sched.rs b/src/sched.rs index 9783a469b1..da37d7df01 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)]