From 1a8a58e831391306e8ee4a788ec4a80a51bad8ab Mon Sep 17 00:00:00 2001 From: tijl Date: Tue, 22 Oct 2013 19:53:52 +0000 Subject: Add a dummy statement to the beginning of the pthread_cleanup_pop() macro to allow a call of the macro to be labelled as in: label: pthread_cleanup_pop(); Reviewed by: imp MFC after: 3 days --- include/pthread.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/pthread.h b/include/pthread.h index 40810f6..3b56dbd 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -175,6 +175,7 @@ int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int); { #define pthread_cleanup_pop(execute) \ + (void)0; \ } \ __pthread_cleanup_pop_imp(execute); \ } -- cgit v1.1