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