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