mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-06 23:02:10 +03:00
timer_create: volatile static -> static volatile
C11 6.11.5p1: > The placement of a storage-class specifier other than at the > beginning of the declaration specifiers in a declaration is an > obsolescent feature. gcc also warns about this.
This commit is contained in:
parent
7bb11f75c5
commit
c5459df188
@ -61,7 +61,7 @@ static void *start(void *arg)
|
||||
|
||||
int timer_create(clockid_t clk, struct sigevent *restrict evp, timer_t *restrict res)
|
||||
{
|
||||
volatile static int init = 0;
|
||||
static volatile int init = 0;
|
||||
pthread_t td;
|
||||
pthread_attr_t attr;
|
||||
int r;
|
||||
|
Loading…
Reference in New Issue
Block a user