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