+#ifndef REGTEST\r
#include <threads.h>\r
\r
int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts)\r
{\r
return mtx_lock(mtx);\r
-}
\ No newline at end of file
+}\r
+#endif\r
+\r
+#ifdef TEST\r
+#include <_PDCLIB_test.h>\r
+\r
+int main( void )\r
+{\r
+ return TEST_RESULTS;\r
+}\r
+\r
+#endif\r