X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Ftss_set.c;h=da02b04be24b07aedb84e0d2e71dc380d37e8d16;hb=29387e76cd5cd340fe7d811dc9830931d3d0ec9b;hp=feea85d345b80857af5e2eb12444d58ac00f5404;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c index feea85d..da02b04 100644 --- a/opt/nothread/tss_set.c +++ b/opt/nothread/tss_set.c @@ -1,7 +1,20 @@ +#ifndef REGTEST #include int tss_set(tss_t key, void *val) { key.self->value = val; return thrd_success; -} \ No newline at end of file +} +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +/* Tested in tss_get.c */ +int main( void ) +{ + return TEST_RESULTS; +} + +#endif