X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_wait.c;h=444e1d477c4e62868edfdb41894c8bfa2613f3b5;hb=refs%2Fhg%2Forigin%2Fbookmarks%2Fmaster;hp=be2fcbbe3d427373f1e6ed3e41be891c8ed80423;hpb=5fd032eae66fba700cb9927840222b068c62361e;p=pdclib diff --git a/opt/nothread/cnd_wait.c b/opt/nothread/cnd_wait.c index be2fcbb..444e1d4 100644 --- a/opt/nothread/cnd_wait.c +++ b/opt/nothread/cnd_wait.c @@ -1,18 +1,18 @@ -#ifndef REGTEST -#include - -int cnd_wait(cnd_t *cond, mtx_t *mtx) -{ - return thrd_error; -} -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - return TEST_RESULTS; -} - -#endif \ No newline at end of file +#ifndef REGTEST +#include + +int cnd_wait(cnd_t *cond, mtx_t *mtx) +{ + return thrd_error; +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif