]> pd.if.org Git - pdclib.old/blobdiff - opt/nothread/cnd_init.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib.old] / opt / nothread / cnd_init.c
index 379f28ff1d383b2fd8d95cff6e2f013f5319142f..2d3fc7e66536f1f61fd07d67be7ec14390ff7d59 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 int cnd_init(cnd_t *cond)\r
@@ -5,6 +6,7 @@ int cnd_init(cnd_t *cond)
        /* does nothing */\r
        return thrd_success;\r
 }\r
+#endif\r
 \r
 #ifdef TEST\r
 #include <_PDCLIB_test.h>\r