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