X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=opt%2Fnothread%2Fthrd_yield.c;h=0cb99acee7e374d2466f9955a794501095512fb3;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hp=8c7863f643f27e1e7319c41cbae70cd1cdd5d051;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 8c7863f..0cb99ac 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