diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-10-08 09:03:43 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-10-08 09:03:43 -0400 |
| commit | 313052aeb25b3de4501a062c963916e3455efbf1 (patch) | |
| tree | 50910f2a27a32ebcdcd0325737a7e09362acd8ae /src/libstd/rt | |
| parent | 5c8c8bc9662269d977fe897b4cb7afa805724d78 (diff) | |
| download | rust-313052aeb25b3de4501a062c963916e3455efbf1.tar.gz rust-313052aeb25b3de4501a062c963916e3455efbf1.zip | |
rm useless fast_ffi attributes
this is no longer used by the compiler
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/local_heap.rs | 7 | ||||
| -rw-r--r-- | src/libstd/rt/thread_local_storage.rs | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/libstd/rt/local_heap.rs b/src/libstd/rt/local_heap.rs index 9d0a0e0ac25..f863ccacaf5 100644 --- a/src/libstd/rt/local_heap.rs +++ b/src/libstd/rt/local_heap.rs @@ -107,25 +107,18 @@ pub fn live_allocs() -> *raw::Box<()> { } extern { - #[fast_ffi] fn rust_new_memory_region(detailed_leaks: uintptr_t, poison_on_free: uintptr_t) -> *MemoryRegion; - #[fast_ffi] fn rust_delete_memory_region(region: *MemoryRegion); - #[fast_ffi] fn rust_new_boxed_region(region: *MemoryRegion, poison_on_free: uintptr_t) -> *BoxedRegion; - #[fast_ffi] fn rust_delete_boxed_region(region: *BoxedRegion); - #[fast_ffi] fn rust_boxed_region_malloc(region: *BoxedRegion, td: *TypeDesc, size: size_t) -> *OpaqueBox; - #[fast_ffi] fn rust_boxed_region_realloc(region: *BoxedRegion, ptr: *OpaqueBox, size: size_t) -> *OpaqueBox; - #[fast_ffi] fn rust_boxed_region_free(region: *BoxedRegion, box: *OpaqueBox); } diff --git a/src/libstd/rt/thread_local_storage.rs b/src/libstd/rt/thread_local_storage.rs index b2c2c670b55..26eabca2d9d 100644 --- a/src/libstd/rt/thread_local_storage.rs +++ b/src/libstd/rt/thread_local_storage.rs @@ -52,11 +52,8 @@ type pthread_key_t = ::libc::c_uint; #[cfg(unix)] extern { - #[fast_ffi] fn pthread_key_create(key: *mut pthread_key_t, dtor: *u8) -> c_int; - #[fast_ffi] fn pthread_setspecific(key: pthread_key_t, value: *mut c_void) -> c_int; - #[fast_ffi] fn pthread_getspecific(key: pthread_key_t) -> *mut c_void; } |
