diff options
author | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 16:08:56 +0000 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 20:26:50 +0000 |
commit | 9e43c7f01ee8ffb96f5ff8a29444409dde188216 (patch) | |
tree | 76037d56ef36d79caf646b8aacc38612f797bc4b /rts | |
parent | 7362809b4e934d7d2024cf72ffddab7de0eab24b (diff) | |
download | haskell-9e43c7f01ee8ffb96f5ff8a29444409dde188216.tar.gz |
rts: mark scavenge_mutable_list as static
Noticed by uselex.rb:
scavenge_mutable_list: [R]: exported from:
./rts/dist/build/sm/Scav.o
scavenge_mutable_list1: [R]: exported from:
./rts/dist/build/sm/Scav.thr_o
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts')
-rw-r--r-- | rts/sm/Scav.c | 2 | ||||
-rw-r--r-- | rts/sm/Scav.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c index 15d2b7b9f4..953f055d57 100644 --- a/rts/sm/Scav.c +++ b/rts/sm/Scav.c @@ -1555,7 +1555,7 @@ scavenge_one(StgPtr p) remove non-mutable objects from the mutable list at this point. -------------------------------------------------------------------------- */ -void +static void scavenge_mutable_list(bdescr *bd, generation *gen) { StgPtr p, q; diff --git a/rts/sm/Scav.h b/rts/sm/Scav.h index 725d27ccf1..ddd7d6d2ba 100644 --- a/rts/sm/Scav.h +++ b/rts/sm/Scav.h @@ -17,12 +17,10 @@ #include "BeginPrivate.h" void scavenge_loop (void); -void scavenge_mutable_list (bdescr *bd, generation *gen); void scavenge_capability_mut_lists (Capability *cap); #ifdef THREADED_RTS void scavenge_loop1 (void); -void scavenge_mutable_list1 (bdescr *bd, generation *gen); void scavenge_capability_mut_Lists1 (Capability *cap); #endif |