X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_init.c;h=76b3eeb10482d8393b4755d928644bec5b6bb0ec;hb=8c3db524fec3b6bb85d2a2cc5cd889a63405e5f1;hp=922c9421f45398231c3bd4619ecc24ee58b1c35e;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old 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>