Commit e1ca5838 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

rts: mark 'ccs_mutex' and 'prof_arena' as static



Noticed by uselex.rb:
    ccs_mutex: [R]: exported from:
        ./rts/dist/build/Profiling.thr_p_o
    prof_arena: [R]: exported from:
        ./rts/dist/build/Profiling.p_o
Signed-off-by: default avatarSergei Trofimovich <siarheit@google.com>
parent c358567b
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
/* /*
* Profiling allocation arena. * Profiling allocation arena.
*/ */
Arena *prof_arena; static Arena *prof_arena;
/* /*
* Global variables used to assign unique IDs to cc's, ccs's, and * Global variables used to assign unique IDs to cc's, ccs's, and
...@@ -59,7 +59,7 @@ CostCentre *CC_LIST = NULL; ...@@ -59,7 +59,7 @@ CostCentre *CC_LIST = NULL;
CostCentreStack *CCS_LIST = NULL; CostCentreStack *CCS_LIST = NULL;
#ifdef THREADED_RTS #ifdef THREADED_RTS
Mutex ccs_mutex; static Mutex ccs_mutex;
#endif #endif
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment