]> pd.if.org Git - pdclib.old/blobdiff - opt/nothread/mtx_unlock.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib.old] / opt / nothread / mtx_unlock.c
index 1c11401f7931788068b98ec49bc0ec625d871a22..214a06390a51e752f109b7d53fb1561291b72b03 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 int mtx_unlock(mtx_t *mtx)\r
@@ -7,6 +8,7 @@ int mtx_unlock(mtx_t *mtx)
                return thrd_success;\r
        } else return thrd_error;\r
 }\r
+#endif\r
 \r
 #ifdef TEST\r
 #include <_PDCLIB_test.h>\r