diff options
author | tijl <tijl@FreeBSD.org> | 2013-10-22 19:53:52 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-10-22 19:53:52 +0000 |
commit | 1a8a58e831391306e8ee4a788ec4a80a51bad8ab (patch) | |
tree | ee0ec994c0810d460961c45ffc269ca906eb97fa | |
parent | bb2f04b00e06c155f443d7f89468c31fc0f0a5ed (diff) | |
download | FreeBSD-src-1a8a58e831391306e8ee4a788ec4a80a51bad8ab.zip FreeBSD-src-1a8a58e831391306e8ee4a788ec4a80a51bad8ab.tar.gz |
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
-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); \ } |