X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Ftss_create.c;fp=opt%2Fnothread%2Ftss_create.c;h=2a28fcadcf76419396801c441a6baf5236efbde9;hp=4b8ce168074f5196fc2a32c7e9c42c61813b8737;hb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa;hpb=a18343e497615802f47e0f6876b5bed73af674e0 diff --git a/opt/nothread/tss_create.c b/opt/nothread/tss_create.c index 4b8ce16..2a28fca 100644 --- a/opt/nothread/tss_create.c +++ b/opt/nothread/tss_create.c @@ -5,4 +5,15 @@ int tss_create(tss_t *key, tss_dtor_t dtor) key->self = key; key->value = NULL; 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