summaryrefslogtreecommitdiff
path: root/rts/eventlog
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-11-18 20:43:07 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-29 02:40:45 -0500
commitcee66e71ce3858602603856bf7da62d6f9552b8a (patch)
tree83a37ec4c411bcc5f2f3c6b954380f6c89cdad4d /rts/eventlog
parent42c47cd608cd871e50c9b56691339d694a2ae4e3 (diff)
downloadhaskell-cee66e71ce3858602603856bf7da62d6f9552b8a.tar.gz
rts/EventLog: Mark various internal globals as static
Diffstat (limited to 'rts/eventlog')
-rw-r--r--rts/eventlog/EventLog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index dff1d153fa..5785b3b62b 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -108,11 +108,11 @@ typedef struct _EventsBuf {
EventCapNo capno; // which capability this buffer belongs to, or -1
} EventsBuf;
-EventsBuf *capEventBuf; // one EventsBuf for each Capability
+static EventsBuf *capEventBuf; // one EventsBuf for each Capability
-EventsBuf eventBuf; // an EventsBuf not associated with any Capability
+static EventsBuf eventBuf; // an EventsBuf not associated with any Capability
#if defined(THREADED_RTS)
-Mutex eventBufMutex; // protected by this mutex
+static Mutex eventBufMutex; // protected by this mutex
#endif
char *EventDesc[] = {