mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 01:20:56 +08:00
Improve VxWorks GTHREAD_ONCE_INIT
2019-12-30 Olivier Hainque <hainque@adacore.com> * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use standard zero-initializer syntax. From-SVN: r279776
This commit is contained in:
parent
49cfaa2a71
commit
d7f5094aa3
libgcc
@ -1,3 +1,8 @@
|
||||
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
||||
|
||||
* config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
|
||||
standard zero-initializer syntax.
|
||||
|
||||
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
||||
|
||||
* config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
|
||||
|
@ -215,7 +215,7 @@ typedef struct
|
||||
#endif
|
||||
} __gthread_once_t;
|
||||
|
||||
#define __GTHREAD_ONCE_INIT { 0 }
|
||||
#define __GTHREAD_ONCE_INIT {}
|
||||
|
||||
extern int __gthread_once (__gthread_once_t *__once, void (*__func)(void));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user