X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Ftss_create.c;h=2a28fcadcf76419396801c441a6baf5236efbde9;hb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;hp=4b8ce168074f5196fc2a32c7e9c42c61813b8737;hpb=a38d56a6a13dbb89022b5448d2d5247f3f99ea41;p=pdclib.old 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