From 9d54dab1fd150d9f56d9c3ee9729f216f543d089 Mon Sep 17 00:00:00 2001 From: tijl Date: Fri, 25 Oct 2013 13:27:55 +0000 Subject: [PATCH] MFC r256925: 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 Approved by: re (glebius) git-svn-id: svn://svn.freebsd.org/base/stable/10@257113 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- include/pthread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/pthread.h b/include/pthread.h index 40810f6e6..3b56dbdbf 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); \ } -- 2.45.0