X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;h=2d184ce8138d3a9ea922f94deeec55384d68fbb0;hb=0c13662a438dc9306daace1412c9d330cfd0cf46;hp=8c7863f643f27e1e7319c41cbae70cd1cdd5d051;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 8c7863f..2d184ce 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -1,6 +1,18 @@ +#ifndef REGTEST #include void thrd_yield(void) { /* does nothing */ -} \ No newline at end of file +} +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif