File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ unsafe fn get_local_map(handle: Handle) -> TaskLocalMap {
83
83
84
84
unsafe fn get_task_local_map ( task : * rust_task ) -> TaskLocalMap {
85
85
86
- extern fn cleanup_task_local_map_ ( map_ptr : * libc:: c_void ) {
86
+ extern fn cleanup_task_local_map_extern_cb ( map_ptr : * libc:: c_void ) {
87
87
cleanup_task_local_map ( map_ptr) ;
88
88
}
89
89
@@ -97,7 +97,7 @@ unsafe fn get_task_local_map(task: *rust_task) -> TaskLocalMap {
97
97
// Use reinterpret_cast -- transmute would take map away from us also.
98
98
rt:: rust_set_task_local_data (
99
99
task, cast:: transmute ( map) ) ;
100
- rt:: rust_task_local_data_atexit ( task, cleanup_task_local_map_ ) ;
100
+ rt:: rust_task_local_data_atexit ( task, cleanup_task_local_map_extern_cb ) ;
101
101
// Also need to reference it an extra time to keep it for now.
102
102
let nonmut = cast:: transmute :: < TaskLocalMap ,
103
103
@~[ Option < TaskLocalElement > ] > ( map) ;
You can’t perform that action at this time.
0 commit comments