rts: mark scavenge_mutable_list as static
authorSergei Trofimovich <siarheit@google.com>
Sun, 7 Feb 2016 16:08:56 +0000 (16:08 +0000)
committerSergei Trofimovich <siarheit@google.com>
Sun, 7 Feb 2016 20:26:50 +0000 (20:26 +0000)
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>
rts/sm/Scav.c
rts/sm/Scav.h

index 15d2b7b..953f055 100644 (file)
@@ -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;
index 725d27c..ddd7d6d 100644 (file)
 #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