We already have another way of initializing these, so it's just a matter
of avoiding _MTX_INITIALIZER_NP here.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5902>
/* TODO: maybe move this serial machinery to a stand-alone module and
* expose it?
*/
+#ifdef PIPE_OS_WINDOWS
+static mtx_t serials_mutex;
+#else
static mtx_t serials_mutex = _MTX_INITIALIZER_NP;
+#endif
static struct hash_table *serials_hash;
static unsigned serials_last;
}
struct hash_table* symbols_hash;
+#ifdef PIPE_OS_WINDOWS
+static mtx_t symbols_mutex;
+#else
static mtx_t symbols_mutex = _MTX_INITIALIZER_NP;
+#endif
const char*
debug_symbol_name_cached(const void *addr)