about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-02-14 18:13:25 -0500
committerDaniel Micay <danielmicay@gmail.com>2013-02-14 18:24:52 -0500
commit2e0614750c398c9aac2f4064addb2fa95ba32282 (patch)
tree001de946d598d4ea4b2dd6a4a09790ce590e69a5 /src/rt/rust_kernel.cpp
parentf2f4edd8a7bc73d2923e783220fe2a3e9aec18dd (diff)
downloadrust-2e0614750c398c9aac2f4064addb2fa95ba32282.tar.gz
rust-2e0614750c398c9aac2f4064addb2fa95ba32282.zip
get rid of unused exchange_alloc calloc method
this isn't actually calloc - it calls the malloc wrapper which no
longer zeroes
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index e0494c9300b..75d70396aac 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -80,11 +80,6 @@ rust_kernel::malloc(size_t size, const char *tag) {
 }
 
 void *
-rust_kernel::calloc(size_t size, const char *tag) {
-    return exchange_alloc.calloc(size);
-}
-
-void *
 rust_kernel::realloc(void *mem, size_t size) {
     return exchange_alloc.realloc(mem, size);
 }