clean up allocation/setup logic for fmemopen
[musl] / src / thread / thrd_exit.c
1 #include "pthread_impl.h"
2 #include <threads.h>
3
4 _Noreturn void __pthread_exit(void *);
5
6 _Noreturn void thrd_exit(int result)
7 {
8         __pthread_exit((void*)(intptr_t)result);
9 }