about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-08-01 18:42:29 -0700
committerEric Holk <eholk@mozilla.com>2011-08-01 18:43:05 -0700
commit286be2d94e8904765e1ef0f5fcc2899f8501a654 (patch)
treec025c461035782706223952036b4c3e716ac169f /src/rt/rust_upcall.cpp
parent2f7ed335178c7fbe5d35e015774ca06486c69ce3 (diff)
downloadrust-286be2d94e8904765e1ef0f5fcc2899f8501a654.tar.gz
rust-286be2d94e8904765e1ef0f5fcc2899f8501a654.zip
Adding an intrinsic for recv.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 4946a516479..2554868c986 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -194,8 +194,6 @@ upcall_send(rust_task *task, rust_chan *chan, void *sptr) {
 }
 
 extern "C" CDECL void
-port_recv(rust_task *task, uintptr_t *dptr, rust_port *port);
-extern "C" CDECL void
 upcall_recv(rust_task *task, uintptr_t *dptr, rust_port *port) {
     LOG_UPCALL_ENTRY(task);
     port_recv(task, dptr, port);