summaryrefslogtreecommitdiff
path: root/checksums.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-18 10:46:08 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:50 +0200
commit21bb23541f1d64e861645255c2cfdac54a930012 (patch)
treec9ff35b30d4a93b7bd1e0c310be229da64dfe517 /checksums.c
parente21c83e60ad428e406ee9172750eee3db656d80f (diff)
2009-10-18 Ivan Maidanski <ivmai@mail.ru>
* backgraph.c (GC_quiet): Remove the declaration (not needed anymore since gc_priv.h is always included). * checksums.c (GC_quiet): Ditto. * gcj_mlc.c (GC_quiet): Ditto. * headers.c (GC_hdr_cache_hits, GC_hdr_cache_misses): Add the comment. * include/private/gc_hdrs.h (GC_hdr_cache_hits, GC_hdr_cache_misses): Ditto. * mark.c (GC_first_nonempty): Make the volatile variable STATIC. * pthread_stop_world.c (GC_stop_count, GC_world_is_stopped): Ditto. * win32_threads.c (GC_please_stop, GC_max_thread_index, GC_mark_mutex_waitcnt): Ditto.
Diffstat (limited to 'checksums.c')
-rw-r--r--checksums.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/checksums.c b/checksums.c
index d9b26d0..44f7c7e 100644
--- a/checksums.c
+++ b/checksums.c
@@ -12,9 +12,9 @@
*/
/* Boehm, March 29, 1995 12:51 pm PST */
-# include "private/gc_priv.h"
+#include "private/gc_priv.h"
-# ifdef CHECKSUMS
+#ifdef CHECKSUMS
/* This is debugging code intended to verify the results of dirty bit */
/* computations. Works only in a single threaded environment. */
@@ -222,10 +222,4 @@ out:
GC_n_faulted = 0;
}
-# else
-
-extern int GC_quiet;
- /* ANSI C doesn't allow translation units to be empty. */
- /* So we guarantee this one is nonempty. */
-
-# endif /* CHECKSUMS */
+#endif /* CHECKSUMS */