From 63b9245a1146e5658ca970987fe7922a5d0107a3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 26 Jun 2003 01:13:19 +0000 Subject: [PATCH] (class __pthread_cleanup_class): Add missing closing braces. --- nptl/sysdeps/pthread/pthread.h | 4 ++-- 1 file 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 -- 2.43.5