Commit d7f5094a by Olivier Hainque Committed by Olivier Hainque

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
parent 49cfaa2a
2019-12-30 Olivier Hainque <hainque@adacore.com> 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 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
reference to the internal VX_GET_TLS_DATA interface. reference to the internal VX_GET_TLS_DATA interface.
......
...@@ -215,7 +215,7 @@ typedef struct ...@@ -215,7 +215,7 @@ typedef struct
#endif #endif
} __gthread_once_t; } __gthread_once_t;
#define __GTHREAD_ONCE_INIT { 0 } #define __GTHREAD_ONCE_INIT {}
extern int __gthread_once (__gthread_once_t *__once, void (*__func)(void)); extern int __gthread_once (__gthread_once_t *__once, void (*__func)(void));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment