From cfeed110492cc53da67f99e51f9268567556c428 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Mon, 25 Aug 2014 14:01:28 -0700 Subject: Tweaks + fix accept4 --- src/sched.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sched.rs') 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 -- cgit v1.2.3