]> pd.if.org Git - pdclib/blob - opt/nothread/mtx_timedlock.c
Cosmetic comment fixes.
[pdclib] / opt / nothread / mtx_timedlock.c
1 #ifndef REGTEST
2 #include <threads.h>
3
4 int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts)
5 {
6         return mtx_lock(mtx);
7 }
8 #endif
9
10 #ifdef TEST
11 #include "_PDCLIB_test.h"
12
13 int main( void )
14 {
15     return TEST_RESULTS;
16 }
17
18 #endif