remove scm_newcell_count, scm_newcell2_count
authorAndy Wingo <wingo@pobox.com>
Thu, 26 May 2011 13:58:42 +0000 (15:58 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 26 May 2011 13:58:42 +0000 (15:58 +0200)
* 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
libguile/inline.h

index 0451fbb..3ae978f 100644 (file)
@@ -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
index e2697c9..a78cac5 100644 (file)
@@ -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