]> pd.if.org Git - pdclib/blobdiff - opt/nothread/mtx_destroy.c
dos2unix
[pdclib] / opt / nothread / mtx_destroy.c
index d9aa748e4bb741dd0907c5d0b3a0b02f9c26b1a0..587b525cd880c57a368272d29dcdb8461e63db61 100644 (file)
@@ -1,4 +1,16 @@
-#include <threads.h>\r
-\r
-void mtx_destroy(mtx_t *mtx)\r
-{}\r
+#ifndef REGTEST
+#include <threads.h>
+
+void mtx_destroy(mtx_t *mtx)
+{}
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
+#endif