about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-26 01:13:19 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-26 01:13:19 +0000
commit63b9245a1146e5658ca970987fe7922a5d0107a3 (patch)
tree09680c042f8df36c35a20a02a2e8ddd46c86f679 /nptl
parentc53320c0c9cbbe8810f8f48d526c42031288af80 (diff)
downloadglibc-63b9245a1146e5658ca970987fe7922a5d0107a3.tar.gz
glibc-63b9245a1146e5658ca970987fe7922a5d0107a3.tar.xz
glibc-63b9245a1146e5658ca970987fe7922a5d0107a3.zip
(class __pthread_cleanup_class): Add missing closing braces.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/pthread/pthread.h4
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