by moving its (struct __pthread_once) cast into PTHREAD_ONCE_INIT.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
};
#define __PTHREAD_ONCE_INIT \
- (struct __pthread_once) { 0, __PTHREAD_SPIN_LOCK_INITIALIZER }
+ 0, __PTHREAD_SPIN_LOCK_INITIALIZER
#endif /* bits/types/struct___pthread_once.h */
#include <bits/types/struct___pthread_once.h>
-#define PTHREAD_ONCE_INIT __PTHREAD_ONCE_INIT
+#define PTHREAD_ONCE_INIT (struct __pthread_once) { __PTHREAD_ONCE_INIT }
/* Call INIT_ROUTINE if this function has never been called with
*ONCE_CONTROL, otherwise do nothing. */