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
This commit is contained in:
Tijl Coosemans 2013-10-22 19:53:52 +00:00
parent b53e60d39a
commit 23bbf7fa70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256925

View file

@ -175,6 +175,7 @@ int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int);
{
#define pthread_cleanup_pop(execute) \
(void)0; \
} \
__pthread_cleanup_pop_imp(execute); \
}