Skip to content

Commit b46957f

Browse files
formatting
1 parent 3b46723 commit b46957f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/include/llvm-libc-macros/pthread-macros.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#define PTHREAD_PROCESS_SHARED 1
2727

2828
#define PTHREAD_MUTEX_INITIALIZER {0}
29-
#define PTHREAD_RWLOCK_INITIALIZER {}
29+
#define PTHREAD_RWLOCK_INITIALIZER {0}
3030

3131
// glibc extensions
3232
#define PTHREAD_STACK_MIN (1 << 14) // 16KB
@@ -35,4 +35,3 @@
3535
#define PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP 2
3636

3737
#endif // LLVM_LIBC_MACROS_PTHREAD_MACRO_H
38-

0 commit comments

Comments
 (0)