X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_destroy.c;h=5227274469d74cc958f2565478a8efd2651ea586;hb=10f020f1a39804bbef8cd1cf35ef7c9a8e75c7d6;hp=d9aa748e4bb741dd0907c5d0b3a0b02f9c26b1a0;hpb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;p=pdclib.old 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