X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_init.c;h=76b3eeb10482d8393b4755d928644bec5b6bb0ec;hp=922c9421f45398231c3bd4619ecc24ee58b1c35e;hb=219271fd548949abce8bd75c34dd42e519418fc4;hpb=1cc4363093c919f79eafac209bb5c41548d3f88f diff --git a/opt/nothread/mtx_init.c b/opt/nothread/mtx_init.c index 922c942..76b3eeb 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>