commit | a08c97bee6523a46a44c69074c0af8a7bf980867 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Mar 04 11:14:42 2020 -0800 |
committer | Florian Mayer <fmayer@google.com> | Mon Mar 30 10:17:07 2020 +0100 |
tree | ac84399facbca9852d3fd281dd065bb2fdce104c | |
parent | 7bc2cf985420c49a2152d664c0bdac15808e2ed8 [diff] [blame] |
Fix bugprone-macro-parentheses warnings Bug: 150783705 Test: WITH_TIDY=1 make This is a cherry-pick of fa658eb094d915a9640a4d0642adee7667f439e7 Change-Id: If47b7adaa5f3ba3c518fb0be48f0ffdc81d204b2 Merged-In: If47b7adaa5f3ba3c518fb0be48f0ffdc81d204b2
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 331e92c..8bc897a 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h
@@ -68,7 +68,7 @@ #define PTHREAD_ONCE_INIT 0 #if __ANDROID_API__ >= 24 -#define PTHREAD_BARRIER_SERIAL_THREAD -1 +#define PTHREAD_BARRIER_SERIAL_THREAD (-1) #endif #if defined(__LP64__)