summaryrefslogtreecommitdiff
path: root/src/sched.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched.rs')
-rw-r--r--src/sched.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs
index 2e824c5f..d1caaf96 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -34,7 +34,7 @@ pub type CloneCb<'a> = ||:'a -> int;
mod ffi {
use libc::{c_void, c_int};
- type CloneCb = extern fn (data: *const super::CloneCb) -> c_int;
+ type CloneCb = extern "C" fn (data: *const super::CloneCb) -> c_int;
extern {
// create a child process