rts: mark 'wakeBlockingQueue' as static
authorSergei Trofimovich <siarheit@google.com>
Sun, 7 Feb 2016 17:14:37 +0000 (17:14 +0000)
committerSergei Trofimovich <siarheit@google.com>
Sun, 7 Feb 2016 20:27:17 +0000 (20:27 +0000)
Noticed by uselex.rb:
    wakeBlockingQueue: [R]: exported from:
        ./rts/dist/build/Threads.o

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
rts/Threads.c
rts/Threads.h

index 203a248..bf30ab8 100644 (file)
@@ -359,7 +359,7 @@ migrateThread (Capability *from, StgTSO *tso, Capability *to)
    wakes up all the threads on the specified queue.
    ------------------------------------------------------------------------- */
 
-void
+static void
 wakeBlockingQueue(Capability *cap, StgBlockingQueue *bq)
 {
     MessageBlackHole *msg;
index 6d26610..01c493e 100644 (file)
@@ -17,7 +17,6 @@ StgTSO * unblockOne (Capability *cap, StgTSO *tso);
 StgTSO * unblockOne_ (Capability *cap, StgTSO *tso, rtsBool allow_migrate);
 
 void checkBlockingQueues (Capability *cap, StgTSO *tso);
-void wakeBlockingQueue   (Capability *cap, StgBlockingQueue *bq);
 void tryWakeupThread     (Capability *cap, StgTSO *tso);
 void migrateThread       (Capability *from, StgTSO *tso, Capability *to);