diff options
author | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 16:41:06 +0000 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 20:26:58 +0000 |
commit | 4f283a6f84e76b3e8e1041eab1bbb9f8c63ce3fd (patch) | |
tree | 09203f5dfe82effd0a545cd43d23f31948d35445 /rts/sm | |
parent | 9e43c7f01ee8ffb96f5ff8a29444409dde188216 (diff) | |
download | haskell-4f283a6f84e76b3e8e1041eab1bbb9f8c63ce3fd.tar.gz |
rts: mark 'copied' as static
Noticed by uselex.rb:
copied: [R]: exported from:
./rts/dist/build/sm/GC.o
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/GC.c | 2 | ||||
-rw-r--r-- | rts/sm/GC.h | 2 |
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 |