X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Ftss_set.c;h=e66ea33894b32613a7f042378a0368da0c92b70a;hp=1e8a5eb0ae3ff18115fdc44ba3b1c121e6021ec2;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c index 1e8a5eb..e66ea33 100644 --- a/opt/nothread/tss_set.c +++ b/opt/nothread/tss_set.c @@ -1,20 +1,20 @@ -#ifndef REGTEST -#include - -int tss_set(tss_t key, void *val) -{ - key.self->value = val; - return thrd_success; -} -#endif - -#ifdef TEST -#include "_PDCLIB_test.h" - -/* Tested in tss_get.c */ -int main( void ) -{ - return TEST_RESULTS; -} - -#endif +#ifndef REGTEST +#include + +int tss_set(tss_t key, void *val) +{ + key.self->value = val; + return thrd_success; +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +/* Tested in tss_get.c */ +int main( void ) +{ + return TEST_RESULTS; +} + +#endif