X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Ftss_create.c;h=a778c7b438211240e00441ba0ea23437fbeba3f7;hb=197791f4a590c4db2d7b667698dbe3f732537b2f;hp=e7ad53a835231716ee19d55fb0b9ba5bef9b5bf0;hpb=219271fd548949abce8bd75c34dd42e519418fc4;p=pdclib diff --git a/opt/nothread/tss_create.c b/opt/nothread/tss_create.c index e7ad53a..a778c7b 100644 --- a/opt/nothread/tss_create.c +++ b/opt/nothread/tss_create.c @@ -1,21 +1,21 @@ -#ifndef REGTEST -#include - -int tss_create(tss_t *key, tss_dtor_t dtor) -{ - key->self = key; - key->value = NULL; - 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_create(tss_t *key, tss_dtor_t dtor) +{ + key->self = key; + key->value = NULL; + return thrd_success; +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +/* Tested in tss_get.c */ +int main( void ) +{ + return TEST_RESULTS; +} + +#endif