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:
parent
62d318f86c
commit
272cb22313
4
dict.c
4
dict.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user