summaryrefslogtreecommitdiff
path: root/mallocx.c
diff options
context:
space:
mode:
Diffstat (limited to 'mallocx.c')
-rw-r--r--mallocx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mallocx.c b/mallocx.c
index f46395c1..5d040811 100644
--- a/mallocx.c
+++ b/mallocx.c
@@ -234,7 +234,8 @@ GC_API void GC_CALL GC_incr_bytes_freed(size_t n)
#if defined(THREADS)
-signed_word GC_bytes_found; /* protected by GC lock; defined in reclaim.c */
+extern signed_word GC_bytes_found;
+ /* protected by GC lock; defined in reclaim.c. */
#ifdef PARALLEL_MARK
volatile signed_word GC_bytes_allocd_tmp = 0;