X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Ftss_set.c;h=d8ae84bd36560fb5724d58390b9e51d02a55b615;hb=00da512946a32e38f815ca3b2a3b6111e4678fe1;hp=feea85d345b80857af5e2eb12444d58ac00f5404;hpb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;p=pdclib.old diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c index feea85d..d8ae84b 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 \ No newline at end of file