From: Ulrich Drepper Date: Thu, 26 Jun 2003 01:13:19 +0000 (+0000) Subject: (class __pthread_cleanup_class): Add missing closing braces. X-Git-Tag: cvs/glibc-2_3_3~524 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63b9245a1146e5658ca970987fe7922a5d0107a3;p=thirdparty%2Fglibc.git (class __pthread_cleanup_class): Add missing closing braces. --- diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 1f0a34baa20..56d40e716e7 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