]> pd.if.org Git - pdclib/blob - opt/nothread/tss_create.c
Moved notime and mincoll from opt/ to functions/.
[pdclib] / opt / nothread / tss_create.c
1 #ifndef REGTEST
2 #include <threads.h>
3
4 int tss_create(tss_t *key, tss_dtor_t dtor)
5 {
6         key->self  = key;
7         key->value = NULL;
8         return thrd_success;
9 }
10 #endif
11
12 #ifdef TEST
13 #include "_PDCLIB_test.h"
14
15 /* Tested in tss_get.c */
16 int main( void )
17 {
18     return TEST_RESULTS;
19 }
20
21 #endif