From a9d575d3a96af85cb847b53b642cd75235f7948b Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 12 Jan 2016 03:29:10 -0500 Subject: [PATCH] Removed Cyc_current_exception_handler2 --- include/cyclone/runtime.h | 1 - runtime.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/cyclone/runtime.h b/include/cyclone/runtime.h index 948b046d..f1dfc1ca 100644 --- a/include/cyclone/runtime.h +++ b/include/cyclone/runtime.h @@ -369,7 +369,6 @@ extern object Cyc_exception_handler_stack; object Cyc_default_exception_handler(void *data, int argc, closure _, object err); object Cyc_current_exception_handler(void *data); -object Cyc_current_exception_handler2(void *data); // TODO: this is temporary, will consolidate with above function void Cyc_rt_raise(void *data, object err); void Cyc_rt_raise2(void *data, const char *msg, object err); void Cyc_rt_raise_msg(void *data, const char *err); diff --git a/runtime.c b/runtime.c index 40847f30..b530b54c 100644 --- a/runtime.c +++ b/runtime.c @@ -371,9 +371,6 @@ object Cyc_default_exception_handler(void *data, int argc, closure _, object err return nil; } -object Cyc_current_exception_handler2(void *data) { - return Cyc_current_exception_handler(data); -} object Cyc_current_exception_handler(void *data) { if (nullp(Cyc_exception_handler_stack)) { return primitive_Cyc_91default_91exception_91handler;