From 8d34ce909be1dfbe9188e0b6a207b4910b691851 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 20 Apr 2016 03:42:10 -0400 Subject: [PATCH] Refactoring --- include/cyclone/runtime.h | 5 ----- runtime.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/include/cyclone/runtime.h b/include/cyclone/runtime.h index 40733e57..6469d7cf 100644 --- a/include/cyclone/runtime.h +++ b/include/cyclone/runtime.h @@ -266,11 +266,6 @@ void dispatch(void *data, int argc, function_type func, object clo, object cont, void dispatch_va(void *data, int argc, function_type_va func, object clo, object cont, object args); void do_dispatch(void *data, int argc, function_type func, object clo, object *buffer); -/* Global variables. */ -extern long no_gcs; /* Count the number of GC's. */ -extern long no_major_gcs; /* Count the number of GC's. */ - -/* Define Lisp constants we need. */ extern const object boolean_t; extern const object boolean_f; extern const object quote_void; diff --git a/runtime.c b/runtime.c index 668eecad..7e79201f 100644 --- a/runtime.c +++ b/runtime.c @@ -94,9 +94,6 @@ void Cyc_check_bounds(void *data, const char *label, int len, int index) { /* Global variables. */ static gc_heap_root *Cyc_heap; -long no_gcs = 0; /* Count the number of GC's. */ -long no_major_gcs = 0; /* Count the number of GC's. */ - object Cyc_global_variables = NULL; int _cyc_argc = 0; char **_cyc_argv = NULL;