projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
report that posix_spawn is supported in unistd.h and sysconf
[musl]
/
src
/
thread
/
pthread_mutexattr_init.c
diff --git
a/src/thread/pthread_mutexattr_init.c
b/src/thread/pthread_mutexattr_init.c
index
ea63106
..
0b72c1b
100644
(file)
--- a/
src/thread/pthread_mutexattr_init.c
+++ b/
src/thread/pthread_mutexattr_init.c
@@
-2,6
+2,6
@@
int pthread_mutexattr_init(pthread_mutexattr_t *a)
{
int pthread_mutexattr_init(pthread_mutexattr_t *a)
{
-
memset(a, 0, sizeof *a)
;
+
*a = (pthread_mutexattr_t){0}
;
return 0;
}
return 0;
}