X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_timedlock.c;h=699d0041cff0499cb313fc0deaec2421d2e4322a;hb=ad695562522feac5197c19716dd91922f229cf32;hp=e3cd4fb80b95de29bd41bc13edd978e7d07317e6;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old diff --git a/opt/nothread/mtx_timedlock.c b/opt/nothread/mtx_timedlock.c index e3cd4fb..699d004 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> @@ -13,4 +15,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif