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