From a8952d1fb73218ad2389bb290ebbb737d4f88fce Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 26 May 2011 15:58:42 +0200 Subject: [PATCH] remove scm_newcell_count, scm_newcell2_count * libguile/inline.h: * libguile/gc.c: Remove declaration and definition of unused "scm_newcell_count" and "scm_newcell2_count". Since SCM_INTERNAL is "extern", these symbols were not externally visible anyway, at least under Linux or Windows. --- libguile/gc.c | 5 ----- libguile/inline.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/libguile/gc.c b/libguile/gc.c index 0451fbb42..3ae978fc0 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -224,11 +224,6 @@ SCM_SYMBOL (sym_protected_objects, "protected-objects"); SCM_SYMBOL (sym_times, "gc-times"); -/* Number of calls to SCM_NEWCELL since startup. */ -unsigned scm_newcell_count; -unsigned scm_newcell2_count; - - /* {Scheme Interface to GC} */ static SCM diff --git a/libguile/inline.h b/libguile/inline.h index e2697c929..a78cac515 100644 --- a/libguile/inline.h +++ b/libguile/inline.h @@ -107,10 +107,6 @@ SCM_API void scm_puts (const char *str_data, SCM port); introduce any extraneous symbols into the public namespace. We only need SCM_C_INLINE to be seen publically . */ -extern unsigned scm_newcell2_count; -extern unsigned scm_newcell_count; - - #ifndef SCM_INLINE_C_INCLUDING_INLINE_H SCM_C_EXTERN_INLINE #endif