diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-13 08:06:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-13 08:07:13 +0200 |
commit | c165a27c0147471977377acd8918ab3b446f947a (patch) | |
tree | 40e30adf6835d6cb6fc843f5d9c65d87e8a8d80a /newlib | |
parent | 747f31854a572b3dd64912997dde2dc984b1f2d8 (diff) | |
download | newlib-c165a27c0147471977377acd8918ab3b446f947a.zip newlib-c165a27c0147471977377acd8918ab3b446f947a.tar.gz newlib-c165a27c0147471977377acd8918ab3b446f947a.tar.bz2 |
RTEMS: Fix _PTHREAD_MUTEX_INITIALIZER
Add missing braces around initializer.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/sys/rtems/include/sys/_pthreadtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h b/newlib/libc/sys/rtems/include/sys/_pthreadtypes.h index b091ebb..34e2222 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; |