]> gcc.gnu.org Git - gcc.git/commitdiff
Improve VxWorks GTHREAD_ONCE_INIT
authorOlivier Hainque <hainque@adacore.com>
Mon, 30 Dec 2019 21:22:21 +0000 (21:22 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 30 Dec 2019 21:22:21 +0000 (21:22 +0000)
2019-12-30  Olivier Hainque  <hainque@adacore.com>

* config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
standard zero-initializer syntax.

From-SVN: r279776

libgcc/ChangeLog
libgcc/config/gthr-vxworks.h

index 789f78af6b803342d1a00371f881027161b9bb03..cb94bfb7042e3154addb234d5922123f1894862a 100644 (file)
@@ -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
index 7e3779a010a69cd177ecf66494b7c314c80fa33d..70205cec18a7c0a12741ece83ae6de0aea8cb7c5 100644 (file)
@@ -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));
 
This page took 0.081464 seconds and 5 git commands to generate.