summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/cancelation.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2011-09-07 18:40:56 +0200
committerThomas Schwinge <thomas@schwinge.name>2011-09-07 18:40:56 +0200
commitb9d918c0f28908c7012c9d4f65f1cf2bc103fc4b (patch)
treeaa3ad24977c9dcbe1aed672431d47f035cad85ae /sysdeps/generic/bits/cancelation.h
parent0d733170f4056ffef9ae7e3c1f0e627b47433a97 (diff)
parentc2a1b325b7b2ce0d3d16bd1e9430e1d7eddce71e (diff)
Merge commit 'refs/top-bases/t/fix_have_kernel_resources' into t/fix_have_kernel_resources
Diffstat (limited to 'sysdeps/generic/bits/cancelation.h')
-rw-r--r--sysdeps/generic/bits/cancelation.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/generic/bits/cancelation.h b/sysdeps/generic/bits/cancelation.h
index db9169a..46486f5 100644
--- a/sysdeps/generic/bits/cancelation.h
+++ b/sysdeps/generic/bits/cancelation.h
@@ -20,8 +20,6 @@
#ifndef _BITS_CANCELATION_H
#define _BITS_CANCELATION_H 1
-#include <assert.h>
-
struct __pthread_cancelation_handler
{
void (*handler)(void *);
@@ -47,7 +45,6 @@ struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void);
#define __pthread_cleanup_pop(execute) \
if (execute) \
__handler.handler (__handler.arg); \
- assert (*__handlers == &__handler); \
*__handlers = __handler.next; \
}