From 04f97cf2f01b4e2bf9e67b19dd2c204935d4d2ef Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 26 Jul 2018 13:02:54 +0000 Subject: [PATCH] [tsan] Fix gcc pedantic warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix gcc (7.2.0) pedantic warning warning: extra ‘;’ [-Wpedantic] Author: jasonl220 (Jason Lovett) Review: https://reviews.llvm.org/D49817 llvm-svn: 338023 --- compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index e2074ed..901997b 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc @@ -2543,22 +2543,22 @@ TSAN_INTERCEPTOR(void, thr_exit, tid_t *state) { #define TSAN_MAYBE_INTERCEPT_THR_EXIT #endif -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_init, void *c, void *a); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_signal, void *c); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_broadcast, void *c); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_wait, void *c, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_destroy, void *c); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, mutex_init, void *m, void *a); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, mutex_destroy, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, mutex_trylock, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_init, void *m, void *a); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_destroy, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_rdlock, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_tryrdlock, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_wrlock, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_trywrlock, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_unlock, void *m); -TSAN_INTERCEPTOR_NETBSD_ALIAS_THR(int, once, void *o, void (*f)()); +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_init, void *c, void *a) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_signal, void *c) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_broadcast, void *c) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_wait, void *c, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, cond_destroy, void *c) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, mutex_init, void *m, void *a) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, mutex_destroy, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, mutex_trylock, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_init, void *m, void *a) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_destroy, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_rdlock, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_tryrdlock, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_wrlock, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_trywrlock, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS(int, rwlock_unlock, void *m) +TSAN_INTERCEPTOR_NETBSD_ALIAS_THR(int, once, void *o, void (*f)()) namespace __tsan { -- 2.7.4