X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_init.c;h=9e22f7d89d62a3d71c55f661ceb128b733ba1815;hb=3a2027b97e7a6c7ecb9fcd4c24b4c74459faddbc;hp=379f28ff1d383b2fd8d95cff6e2f013f5319142f;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old diff --git a/opt/nothread/cnd_init.c b/opt/nothread/cnd_init.c index 379f28f..9e22f7d 100644 --- a/opt/nothread/cnd_init.c +++ b/opt/nothread/cnd_init.c @@ -1,3 +1,4 @@ +#ifndef REGTEST #include int cnd_init(cnd_t *cond) @@ -5,6 +6,7 @@ int cnd_init(cnd_t *cond) /* does nothing */ return thrd_success; } +#endif #ifdef TEST #include <_PDCLIB_test.h> @@ -14,4 +16,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif