X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=opt%2Fnothread%2Fmtx_timedlock.c;fp=opt%2Fnothread%2Fmtx_timedlock.c;h=e3cd4fb80b95de29bd41bc13edd978e7d07317e6;hb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa;hp=b8166b5b97cfee37b74271635a5114db62e19b11;hpb=a18343e497615802f47e0f6876b5bed73af674e0;p=pdclib diff --git a/opt/nothread/mtx_timedlock.c b/opt/nothread/mtx_timedlock.c index b8166b5..e3cd4fb 100644 --- a/opt/nothread/mtx_timedlock.c +++ b/opt/nothread/mtx_timedlock.c @@ -3,4 +3,14 @@ int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) { return mtx_lock(mtx); -} \ No newline at end of file +} + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file