View | Details | Raw Unified | Return to bug 220381 | Differences between
and this patch

Collapse All | Expand All

(-)b/lib/libthr/thread/thr_clean.c (-1 / +4 lines)
Lines 50-58 void Link Here
50
__pthread_cleanup_push_imp(void (*routine)(void *), void *arg,
50
__pthread_cleanup_push_imp(void (*routine)(void *), void *arg,
51
	struct _pthread_cleanup_info *info)
51
	struct _pthread_cleanup_info *info)
52
{
52
{
53
	struct pthread	*curthread = _get_curthread();
53
	struct pthread *curthread;
54
	struct pthread_cleanup *newbuf;
54
	struct pthread_cleanup *newbuf;
55
55
56
	_thr_check_init();
57
	curthread = _get_curthread();
58
56
	newbuf = (void *)info;
59
	newbuf = (void *)info;
57
	newbuf->routine = routine;
60
	newbuf->routine = routine;
58
	newbuf->routine_arg = arg;
61
	newbuf->routine_arg = arg;

Return to bug 220381