]> pd.if.org Git - pdclib/blob - opt/pthreads/mtx_destroy.c
Missing declarations / definitions added to stdlib.h.
[pdclib] / opt / pthreads / mtx_destroy.c
1 #ifndef REGTEST
2 #include <threads.h>
3 #include <pthread.h>
4
5 void mtx_destroy(mtx_t *mtx)
6 {
7     pthread_mutex_destroy(mtx);
8 }
9 #endif
10
11 #ifdef TEST
12 #include <_PDCLIB_test.h>
13
14 int main( void )
15 {
16     return TEST_RESULTS;
17 }
18
19 #endif