X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_destroy.c;h=8f359c8427f3c8c2b90259c8f6d7e2dfe84af126;hb=4d14d2133a2ec08b475531abbc2a15635c965a38;hp=d9aa748e4bb741dd0907c5d0b3a0b02f9c26b1a0;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/opt/nothread/mtx_destroy.c b/opt/nothread/mtx_destroy.c index d9aa748..8f359c8 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