summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread.h b/pthread.h
index dc3c608..8f6fdc5 100644
--- a/pthread.h
+++ b/pthread.h
@@ -276,8 +276,8 @@ enum {
#define pthread_cleanup_push(routine, arg) \
{ \
- _pthread_handler_push(_PTHREAD_CLEANUP_STACK, \
- _PTHREAD_HANDLER_POP_LIFO, routine, arg);
+ (void ) _pthread_handler_push(_PTHREAD_CLEANUP_STACK, \
+ _PTHREAD_HANDLER_POP_LIFO, routine, arg);
#ifdef pthread_cleanup_pop
#undef pthread_cleanup_pop