Skip to content

Commit

Permalink
Fix build on Linux & Rust nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
carllerche committed Dec 22, 2015
1 parent 6479adf commit 3154b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sched.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 3154b7d

Please sign in to comment.