From c165a27c0147471977377acd8918ab3b446f947a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 Oct 2017 08:06:19 +0200 Subject: [PATCH] RTEMS: Fix _PTHREAD_MUTEX_INITIALIZER Add missing braces around initializer. Signed-off-by: Sebastian Huber --- newlib/libc/sys/rtems/include/sys/_pthreadtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h b/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h index b091ebbaf..34e22221f 100644 --- a/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h +++ b/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h @@ -159,7 +159,7 @@ typedef struct { } pthread_mutex_t; #define _PTHREAD_MUTEX_INITIALIZER \ - { 0, _MUTEX_RECURSIVE_INITIALIZER, { { 0, 0, 0, 0 }, 0 }, 0 } + { 0, _MUTEX_RECURSIVE_INITIALIZER, { { { 0, 0, 0, 0 } }, 0 }, 0 } typedef struct { int is_initialized;