diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-22 19:53:52 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-22 19:53:52 +0000 |
commit | 23bbf7fa70060d04e9c4789d790066648a0ca892 (patch) | |
tree | ee0ec994c0810d460961c45ffc269ca906eb97fa /include/pthread.h | |
parent | b53e60d39a447b4422c9df4ab02c6fbd1cb40aae (diff) | |
download | src-23bbf7fa70060d04e9c4789d790066648a0ca892.tar.gz src-23bbf7fa70060d04e9c4789d790066648a0ca892.zip |
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
Notes
Notes:
svn path=/head/; revision=256925
Diffstat (limited to 'include/pthread.h')
-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 40810f6e6a4d..3b56dbdbf749 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); \ } |