diff options
author | tijl <tijl@FreeBSD.org> | 2013-10-25 13:27:55 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-10-25 13:27:55 +0000 |
commit | 19e284f6516fc91d27b804bf63aee9d9b19cf6b9 (patch) | |
tree | f47721f311f8840a99b81068a46c19628412f87a /include | |
parent | 04fdff3ee16d842d845250e78d7bc7bb7347a839 (diff) | |
download | FreeBSD-src-19e284f6516fc91d27b804bf63aee9d9b19cf6b9.zip FreeBSD-src-19e284f6516fc91d27b804bf63aee9d9b19cf6b9.tar.gz |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); \ } |