X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_init.c;h=21bb473e2f88ef813dfc83886f73b8551869f08f;hb=3a2027b97e7a6c7ecb9fcd4c24b4c74459faddbc;hp=922c9421f45398231c3bd4619ecc24ee58b1c35e;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old diff --git a/opt/nothread/mtx_init.c b/opt/nothread/mtx_init.c index 922c942..21bb473 100644 --- a/opt/nothread/mtx_init.c +++ b/opt/nothread/mtx_init.c @@ -1,3 +1,4 @@ +#ifndef REGTEST #include int mtx_init(mtx_t *mtx, int type) @@ -5,6 +6,7 @@ int mtx_init(mtx_t *mtx, int type) *mtx = 0; 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