path: root/checksums.c
diff options
authorivmai <ivmai>2009-09-10 19:22:18 +0200
committerIvan Maidanski <>2011-07-26 19:06:46 +0200
commit29cd58b7369dbf1f5fdcfcaa26afc47d945f84f3 (patch)
treedae23d36c4a62032e6c9a954acf712e63483aa6c /checksums.c
parentb070a41b0788a0bda79a4b752a1dd177f08e4fc3 (diff)
2009-09-10 Ivan Maidanski <>
(diff103_cvs) * alloc.c (GC_stopped_mark): Remove GC_log_printf("") (not needed anymore and GCC produces a warning for it). * alloc.c (GC_stopped_mark): Adjust printf argument type specifier. * backgraph.c: Include dbg_mlc.h before ifdef MAKE_BACK_GRAPH (for the case when the configuration information comes from aconfig file). * checksums.c: Ditto (for gc_priv.h and CHECKSUMS, respectively). * include/gc_allocator.h (GC_ATTR_UNUSED): Use "__unused__" keyword instead of "unused". * include/gc_allocator.h: Fix typos in comments. * thread_local_alloc.c: Ditto. * include/javaxfc.h (GC_finalize_all): Update comment. * include/private/gc_priv.h (GC_API_PRIV): New macro (defined as GC_API and serves only as a marker for the private but exported symbols used by test.c only). * include/private/gc_priv.h (GC_abort, GC_arrays, GC_is_marked, GC_printf, GC_err_printf, GC_log_printf): Replace GC_API decl with GC_API_PRIV one. * include/private/gc_priv.h (GC_fo_entries): Don't export it outside a DLL. * include/private/gc_priv.h (GC_ATTR_FORMAT_PRINTF): New macro designated to check the arguments correctness of printf-like functions (currently works only for GCC v3+). * include/private/gc_priv.h (GC_printf, GC_err_printf, GC_log_printf): Use GC_ATTR_FORMAT_PRINTF attribute.
Diffstat (limited to 'checksums.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/checksums.c b/checksums.c
index 275026d..6e1df9c 100644
--- a/checksums.c
+++ b/checksums.c
@@ -11,10 +11,11 @@
* modified is included with the above copyright notice.
/* Boehm, March 29, 1995 12:51 pm PST */
-# ifdef CHECKSUMS
# include "private/gc_priv.h"
+# ifdef CHECKSUMS
/* This is debugging code intended to verify the results of dirty bit */
/* computations. Works only in a single threaded environment. */
/* We assume that stubborn objects are changed only when they are */