diff options
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/local_heap.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rt/thread.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/rt/local_heap.rs b/src/libstd/rt/local_heap.rs index cd8e8549211..e1e7ceacc38 100644 --- a/src/libstd/rt/local_heap.rs +++ b/src/libstd/rt/local_heap.rs @@ -92,7 +92,7 @@ pub unsafe fn local_free(ptr: *libc::c_char) { extern { #[fast_ffi] - unsafe fn rust_upcall_free_noswitch(ptr: *libc::c_char); + fn rust_upcall_free_noswitch(ptr: *libc::c_char); } } _ => { diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs index ed0137d3b0f..9f6cf68245e 100644 --- a/src/libstd/rt/thread.rs +++ b/src/libstd/rt/thread.rs @@ -49,7 +49,7 @@ impl Drop for Thread { } extern { - pub unsafe fn rust_raw_thread_start(f: &(~fn())) -> *raw_thread; - pub unsafe fn rust_raw_thread_join(thread: *raw_thread); - pub unsafe fn rust_raw_thread_delete(thread: *raw_thread); + pub fn rust_raw_thread_start(f: &(~fn())) -> *raw_thread; + pub fn rust_raw_thread_join(thread: *raw_thread); + pub fn rust_raw_thread_delete(thread: *raw_thread); } |
