summaryrefslogtreecommitdiff
path: root/rts/Profiling.c
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-02-07 18:00:00 +0000
committerSergei Trofimovich <siarheit@google.com>2016-02-07 20:27:53 +0000
commite1ca583855fc26f1e1a3a4e7fd6c54d302b4625c (patch)
tree13ed2605a31522a0ca8cebe599ae6d1ce5da3d15 /rts/Profiling.c
parentc358567b9c84ffe77b505d0043d405f14312a95f (diff)
downloadhaskell-e1ca583855fc26f1e1a3a4e7fd6c54d302b4625c.tar.gz
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: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts/Profiling.c')
-rw-r--r--rts/Profiling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Profiling.c b/rts/Profiling.c
index 4f2606c8b4..5dca8c0524 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -29,7 +29,7 @@
/*
* Profiling allocation arena.
*/
-Arena *prof_arena;
+static Arena *prof_arena;
/*
* Global variables used to assign unique IDs to cc's, ccs's, and
@@ -59,7 +59,7 @@ CostCentre *CC_LIST = NULL;
CostCentreStack *CCS_LIST = NULL;
#ifdef THREADED_RTS
-Mutex ccs_mutex;
+static Mutex ccs_mutex;
#endif
/*