X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=opt%2Fnothread%2Fcnd_wait.c;h=86b70ab663c08f23116686556162086152ce91eb;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hp=2948d4f2fa27b4711d5104d35472e6da4beb52f8;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/opt/nothread/cnd_wait.c b/opt/nothread/cnd_wait.c index 2948d4f..86b70ab 100644 --- a/opt/nothread/cnd_wait.c +++ b/opt/nothread/cnd_wait.c @@ -1,6 +1,18 @@ +#ifndef REGTEST #include int cnd_wait(cnd_t *cond, mtx_t *mtx) { return thrd_error; -} \ No newline at end of file +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif