From 0dc83879958ed008b4be9decf2efaa2be6c7eea3 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 10 Nov 2011 15:36:09 -0800 Subject: rt: Remove chan_send. Unused. --- src/rt/rust_builtin.cpp | 5 ----- src/rt/rustrt.def.in | 1 - 2 files changed, 6 deletions(-) diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 53650beea38..36912ae428d 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -518,11 +518,6 @@ void drop_port(rust_port *port) { port->ref_count--; } -extern "C" CDECL -void chan_send(rust_chan *chan, void *sptr) { - chan->send(sptr); -} - extern "C" CDECL void chan_id_send(type_desc *t, rust_task_id target_task_id, rust_port_id target_port_id, void *sptr) { diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index 3063d57f801..f74947be0b6 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -10,7 +10,6 @@ aio_stop aio_writedata align_of chan_id_send -chan_send check_claims debug_box debug_fn -- cgit 1.4.1-3-g733a5