X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_wait.c;h=be2fcbbe3d427373f1e6ed3e41be891c8ed80423;hb=7ef2d8e3f973420b1b717525d643e47337557938;hp=2948d4f2fa27b4711d5104d35472e6da4beb52f8;hpb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;p=pdclib.old diff --git a/opt/nothread/cnd_wait.c b/opt/nothread/cnd_wait.c index 2948d4f..be2fcbb 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 \ No newline at end of file