]> pd.if.org Git - pdclib/blobdiff - opt/nothread/tss_create.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib] / opt / nothread / tss_create.c
index 2a28fcadcf76419396801c441a6baf5236efbde9..e7ad53a835231716ee19d55fb0b9ba5bef9b5bf0 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 int tss_create(tss_t *key, tss_dtor_t dtor)\r
@@ -6,6 +7,7 @@ int tss_create(tss_t *key, tss_dtor_t dtor)
        key->value = NULL;\r
        return thrd_success;\r
 }\r
+#endif\r
 \r
 #ifdef TEST\r
 #include <_PDCLIB_test.h>\r