]> pd.if.org Git - pdclib/blobdiff - opt/nothread/mtx_init.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib] / opt / nothread / mtx_init.c
index 922c9421f45398231c3bd4619ecc24ee58b1c35e..76b3eeb10482d8393b4755d928644bec5b6bb0ec 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 int mtx_init(mtx_t *mtx, int type)\r
@@ -5,6 +6,7 @@ int mtx_init(mtx_t *mtx, int type)
        *mtx = 0;\r
        return thrd_success;\r
 }\r
+#endif\r
 \r
 #ifdef TEST\r
 #include <_PDCLIB_test.h>\r