]> pd.if.org Git - pdclib/blobdiff - opt/nothread/mtx_timedlock.c
dos2unix
[pdclib] / opt / nothread / mtx_timedlock.c
index 047dce63beb5368baa485199f57b9af3da75a1e5..c9d8f205a523c52fb0384baab1bb8f96aa06b252 100644 (file)
@@ -1,18 +1,18 @@
-#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
-}\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
+#ifndef REGTEST
+#include <threads.h>
+
+int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts)
+{
+       return mtx_lock(mtx);
+}
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
+#endif