summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
Diffstat (limited to 'rts')
-rw-r--r--rts/sm/GC.c2
-rw-r--r--rts/sm/GC.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 95d995144c..d861db937e 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -129,7 +129,7 @@ StgWord8 the_gc_thread[sizeof(gc_thread) + 64 * sizeof(gen_workspace)];
nat n_gc_threads;
// For stats:
-long copied; // *words* copied & scavenged during this GC
+static long copied; // *words* copied & scavenged during this GC
rtsBool work_stealing;
diff --git a/rts/sm/GC.h b/rts/sm/GC.h
index 5744eb95a8..2953d9eb0c 100644
--- a/rts/sm/GC.h
+++ b/rts/sm/GC.h
@@ -34,8 +34,6 @@ extern bdescr *mark_stack_bd;
extern bdescr *mark_stack_top_bd;
extern StgPtr mark_sp;
-extern long copied;
-
extern rtsBool work_stealing;
#ifdef DEBUG