summaryrefslogtreecommitdiff
path: root/libpthread/sysdeps/generic/bits/cancelation.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-09-26 22:10:52 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-09-26 22:10:52 +0000
commit30f3fdbfbf9cfbbd3f6620b26d6f5a821d890368 (patch)
treeaca05538aaefa1517cb233ee145b2c0e32b40217 /libpthread/sysdeps/generic/bits/cancelation.h
parent41d9ba27815f2c18d3406ffc04d0560b0fdb48b0 (diff)
parent532f60cb8ebdb47af86a4dbe7b551c5b5835f763 (diff)
Merge branch 'libpthread-moved' into upstream-merged
Diffstat (limited to 'libpthread/sysdeps/generic/bits/cancelation.h')
-rw-r--r--libpthread/sysdeps/generic/bits/cancelation.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpthread/sysdeps/generic/bits/cancelation.h b/libpthread/sysdeps/generic/bits/cancelation.h
index db9169a9..46486f5e 100644
--- a/libpthread/sysdeps/generic/bits/cancelation.h
+++ b/libpthread/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; \
}