X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_unlock.c;h=214a06390a51e752f109b7d53fb1561291b72b03;hp=1c11401f7931788068b98ec49bc0ec625d871a22;hb=219271fd548949abce8bd75c34dd42e519418fc4;hpb=1cc4363093c919f79eafac209bb5c41548d3f88f diff --git a/opt/nothread/mtx_unlock.c b/opt/nothread/mtx_unlock.c index 1c11401..214a063 100644 --- a/opt/nothread/mtx_unlock.c +++ b/opt/nothread/mtx_unlock.c @@ -1,3 +1,4 @@ +#ifndef REGTEST #include int mtx_unlock(mtx_t *mtx) @@ -7,6 +8,7 @@ int mtx_unlock(mtx_t *mtx) return thrd_success; } else return thrd_error; } +#endif #ifdef TEST #include <_PDCLIB_test.h>