refactor: Give internal linkage to global mutex

The `static` keyword was removed by #8674 but I think it should be
restored so that this global can't clash with anything else called
`::s_mutex` elsewhere in the executable.
This commit is contained in:
Jonathan Wakely
2025-09-04 13:09:05 +01:00
committed by Nick Bolton
parent d5936a9e08
commit b788d63044

View File

@ -12,7 +12,7 @@
#include <cstring>
#include <mutex>
std::mutex s_mutex;
static std::mutex s_mutex;
//
// use C library non-reentrant multibyte conversion with mutex