public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] RTEMS: Fix _PTHREAD_MUTEX_INITIALIZER
@ 2017-10-13 6:08 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2017-10-13 6:08 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c165a27c0147471977377acd8918ab3b446f947a
commit c165a27c0147471977377acd8918ab3b446f947a
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Fri Oct 13 08:06:19 2017 +0200
RTEMS: Fix _PTHREAD_MUTEX_INITIALIZER
Add missing braces around initializer.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diff:
---
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 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-13 6:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 6:08 [newlib-cygwin] RTEMS: Fix _PTHREAD_MUTEX_INITIALIZER Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).