]> pd.if.org Git - pdclib/blobdiff - opt/nothread/mtx_destroy.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib] / opt / nothread / mtx_destroy.c
index d9aa748e4bb741dd0907c5d0b3a0b02f9c26b1a0..5227274469d74cc958f2565478a8efd2651ea586 100644 (file)
@@ -1,4 +1,16 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 void mtx_destroy(mtx_t *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
\ No newline at end of file