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