X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=opt%2Fnothread%2Fmtx_timedlock.c;h=c9d8f205a523c52fb0384baab1bb8f96aa06b252;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hp=6ab7dfb8054b048ebb6d7ba7fd507978e31fea2b;hpb=219271fd548949abce8bd75c34dd42e519418fc4;p=pdclib diff --git a/opt/nothread/mtx_timedlock.c b/opt/nothread/mtx_timedlock.c index 6ab7dfb..c9d8f20 100644 --- a/opt/nothread/mtx_timedlock.c +++ b/opt/nothread/mtx_timedlock.c @@ -1,18 +1,18 @@ -#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> - -int main( void ) -{ - return TEST_RESULTS; -} - -#endif \ No newline at end of file +#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" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif