global cleanup to use the new syscall interface

This commit is contained in:
Rich Felker
2011-03-20 00:16:43 -04:00
parent be82e122bf
commit aa398f56fa
160 changed files with 180 additions and 238 deletions

View File

@ -36,7 +36,7 @@ void __pthread_unwind_next(struct __ptcb *cb)
__unmapself(self->map_base, self->map_size);
}
__syscall_exit(0);
syscall(SYS_exit, 0);
}
static void docancel(struct pthread *self)