X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_timedlock.c;h=6ab7dfb8054b048ebb6d7ba7fd507978e31fea2b;hp=e3cd4fb80b95de29bd41bc13edd978e7d07317e6;hb=10f020f1a39804bbef8cd1cf35ef7c9a8e75c7d6;hpb=f7a440b9c7bb0c686dc2368c4ff53b20bf6371f8 diff --git a/opt/nothread/mtx_timedlock.c b/opt/nothread/mtx_timedlock.c index e3cd4fb..6ab7dfb 100644 --- a/opt/nothread/mtx_timedlock.c +++ b/opt/nothread/mtx_timedlock.c @@ -1,9 +1,11 @@ +#ifndef REGTEST #include int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) { return mtx_lock(mtx); } +#endif #ifdef TEST #include <_PDCLIB_test.h>