From e2e474767e4f6edbd8f7370598d4fec8af9751bf Mon Sep 17 00:00:00 2001 From: Mark Vian Date: Fri, 8 Feb 2013 18:12:03 -0600 Subject: rt: remove unused 'rust_compare_and_swap_ptr'. Closes #4836 --- src/rt/rust_builtin.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/rt/rust_builtin.cpp') diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 32f2c4ebde2..e14f62ffae9 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -776,12 +776,6 @@ rust_osmain_sched_id() { return task->kernel->osmain_sched_id(); } -extern "C" CDECL bool -rust_compare_and_swap_ptr(intptr_t *address, - intptr_t oldval, intptr_t newval) { - return sync::compare_and_swap(address, oldval, newval); -} - extern "C" void rust_task_inhibit_kill(rust_task *task) { task->inhibit_kill(); -- cgit 1.4.1-3-g733a5