Remove parameter from __do_cancel call.
authordrepper <drepper>
Fri, 13 Dec 2002 10:45:32 +0000 (10:45 +0000)
committerdrepper <drepper>
Fri, 13 Dec 2002 10:45:32 +0000 (10:45 +0000)
nptl/pthread_setcancelstate.c
nptl/pthread_setcanceltype.c

index ad50d1c..a4466ca 100644 (file)
@@ -58,7 +58,7 @@ pthread_setcancelstate (state, oldstate)
                                           oldval) == 0)
        {
          if (CANCEL_ENABLED_AND_CANCELED_AND_ASYNCHRONOUS (newval))
-           __do_cancel (CURRENT_STACK_FRAME);
+           __do_cancel ();
 
          break;
        }
index be0056a..bb4b249 100644 (file)
@@ -60,7 +60,7 @@ __pthread_setcanceltype (type, oldtype)
          if (CANCEL_ENABLED_AND_CANCELED_AND_ASYNCHRONOUS (newval))
            {
              THREAD_SETMEM (self, result, PTHREAD_CANCELED);
-             __do_cancel (CURRENT_STACK_FRAME);
+             __do_cancel ();
            }
 
          break;