X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Ftss_set.c;h=e66ea33894b32613a7f042378a0368da0c92b70a;hp=d8ae84bd36560fb5724d58390b9e51d02a55b615;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=5fd032eae66fba700cb9927840222b068c62361e diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c index d8ae84b..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 \ No newline at end of file +#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