X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_init.c;h=4e05427bd54389d71058c4fe7b3ee3982f3aa3b9;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hp=2d3fc7e66536f1f61fd07d67be7ec14390ff7d59;hpb=219271fd548949abce8bd75c34dd42e519418fc4;p=pdclib diff --git a/opt/nothread/cnd_init.c b/opt/nothread/cnd_init.c index 2d3fc7e..4e05427 100644 --- a/opt/nothread/cnd_init.c +++ b/opt/nothread/cnd_init.c @@ -1,19 +1,19 @@ -#ifndef REGTEST -#include - -int cnd_init(cnd_t *cond) -{ - /* does nothing */ - return thrd_success; -} -#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_init(cnd_t *cond) +{ + /* does nothing */ + return thrd_success; +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif