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