From 533cb676817949a3d7c77afee521a3a735f6ef2b Mon Sep 17 00:00:00 2001 From: Paul Sajna Date: Sat, 3 Mar 2018 19:33:34 -0800 Subject: [PATCH] fix Options --- src/todo/pthread/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/todo/pthread/lib.rs b/src/todo/pthread/lib.rs index d616ab9008..8ed6301e47 100644 --- a/src/todo/pthread/lib.rs +++ b/src/todo/pthread/lib.rs @@ -215,7 +215,7 @@ pub extern "C" fn pthread_condattr_setpshared( pub extern "C" fn pthread_create( thread: *mut pthread_t, attr: *const pthread_attr_t, - start_routine: ::std::option::Option *mut libc::c_void>, + start_routine: Option *mut libc::c_void>, arg: *mut libc::c_void, ) -> libc::c_int { unimplemented!(); @@ -263,7 +263,7 @@ pub extern "C" fn pthread_join(thread: pthread_t, value_ptr: *mut *mut libc::c_v #[no_mangle] pub extern "C" fn pthread_key_create( key: *mut pthread_key_t, - destructor: ::std::option::Option, + destructor: Option, ) -> libc::c_int { unimplemented!(); } @@ -395,7 +395,7 @@ pub extern "C" fn pthread_mutexattr_settype( #[no_mangle] pub extern "C" fn pthread_once( once_control: *mut pthread_once_t, - init_routine: ::std::option::Option, + init_routine: Option, ) -> libc::c_int { unimplemented!(); }