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;