diff options
author | Carl Lerche <me@carllerche.com> | 2014-08-25 14:01:28 -0700 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2014-08-25 14:01:28 -0700 |
commit | cfeed110492cc53da67f99e51f9268567556c428 (patch) | |
tree | db4f90dc30a6f3f374078ab86dfead3c99838da9 /src/sched.rs | |
parent | 74d49ab9a1d03787544b4a9d8d7e1b2828577bff (diff) | |
download | nix-cfeed110492cc53da67f99e51f9268567556c428.zip |
Tweaks + fix accept4
Diffstat (limited to 'src/sched.rs')
-rw-r--r-- | src/sched.rs | 2 |
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 |