X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_destroy.c;h=5227274469d74cc958f2565478a8efd2651ea586;hb=219271fd548949abce8bd75c34dd42e519418fc4;hp=d9aa748e4bb741dd0907c5d0b3a0b02f9c26b1a0;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/opt/nothread/mtx_destroy.c b/opt/nothread/mtx_destroy.c index d9aa748..5227274 100644 --- a/opt/nothread/mtx_destroy.c +++ b/opt/nothread/mtx_destroy.c @@ -1,4 +1,16 @@ +#ifndef REGTEST #include void mtx_destroy(mtx_t *mtx) {} +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file