diff options
-rw-r--r-- | nptl/sysdeps/pthread/pthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 1f0a34baa2..56d40e716e 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/nptl/sysdeps/pthread/pthread.h @@ -444,8 +444,8 @@ class __pthread_cleanup_class ~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); } __setdoit (int __newval) { __do_it = __newval; } __defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, - &__cancel_type); - __restore () const { pthread_setcanceltype (__cancel_type, 0); + &__cancel_type); } + __restore () const { pthread_setcanceltype (__cancel_type, 0); } }; /* Install a cleanup handler: ROUTINE will be called with arguments ARG |