1 #include "pthread_impl.h"
3 void __do_cleanup_push();
4 void __do_cleanup_pop();
6 void _pthread_cleanup_push(struct __ptcb *cb, void (*f)(void *), void *x)
10 __do_cleanup_push(cb, f, x);
13 void _pthread_cleanup_pop(struct __ptcb *cb, int run)
15 __do_cleanup_pop(cb, run);
16 if (run) cb->__f(cb->__x);
22 weak_alias(dummy, __do_cleanup_push);
23 weak_alias(dummy, __do_cleanup_pop);