X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Ftss_set.c;h=1e8a5eb0ae3ff18115fdc44ba3b1c121e6021ec2;hp=feea85d345b80857af5e2eb12444d58ac00f5404;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=b41576197133c1211d6ec353faf93f505f573b8a diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c index feea85d..1e8a5eb 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