1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

dict: Fix '__thread' before 'static'

When used with extern or static, __thread must appear immediately after
the other storage class specifier.

Fixes #621.
This commit is contained in:
Nick Wellnhofer 2023-11-20 14:22:18 +01:00
parent 62d318f86c
commit 272cb22313

4
dict.c
View File

@ -909,8 +909,8 @@ static xmlMutex xmlRngMutex;
static unsigned globalRngState[2];
#ifdef XML_THREAD_LOCAL
XML_THREAD_LOCAL static int localRngInitialized = 0;
XML_THREAD_LOCAL static unsigned localRngState[2];
static XML_THREAD_LOCAL int localRngInitialized = 0;
static XML_THREAD_LOCAL unsigned localRngState[2];
#endif
ATTRIBUTE_NO_SANITIZE_INTEGER