Skip to content

Commit 56d71a4

Browse files
committed
added static specifer in green_metrics.cpp
1 parent aeabcc9 commit 56d71a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/frameworks/greentea-client/source/greentea_metrics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ typedef struct {
3434
} thread_info_t;
3535

3636
// Mutex to protect "buf"
37-
SingletonPtr<Mutex> mutex;
37+
static SingletonPtr<Mutex> mutex;
3838
#if defined(MBED_STACK_STATS_ENABLED) && MBED_STACK_STATS_ENABLED
3939
static char buf[128];
4040
static SingletonPtr<CircularBuffer<thread_info_t, THREAD_BUF_COUNT> > queue;

0 commit comments

Comments
 (0)