1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

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); \
}