X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;h=840157bdaf2441cb7f80fff871ecf7f3283139a4;hb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;hp=8c7863f643f27e1e7319c41cbae70cd1cdd5d051;hpb=a38d56a6a13dbb89022b5448d2d5247f3f99ea41;p=pdclib.old diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 8c7863f..840157b 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -3,4 +3,14 @@ void thrd_yield(void) { /* does nothing */ -} \ No newline at end of file +} + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file