]> pd.if.org Git - pdclib.old/blobdiff - opt/nothread/tss_set.c
Fix warnings
[pdclib.old] / opt / nothread / tss_set.c
index 7de3ec5b775527d66e84f01174ce661a81b4d94a..da02b04be24b07aedb84e0d2e71dc380d37e8d16 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
@@ -15,4 +17,4 @@ int main( void )
     return TEST_RESULTS;\r
 }\r
 \r
-#endif
\ No newline at end of file
+#endif\r