clean up sloppy nested inclusion from pthread_impl.h
[musl] / src / thread / pthread_condattr_init.c
index 6d09ac1..a41741b 100644 (file)
@@ -2,6 +2,6 @@
 
 int pthread_condattr_init(pthread_condattr_t *a)
 {
-       memset(a, 0, sizeof *a);
+       *a = (pthread_condattr_t){0};
        return 0;
 }