X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_init.c;h=922c9421f45398231c3bd4619ecc24ee58b1c35e;hb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;hp=ff506e94e03e5ee67cde2b95fb831c990dea9eab;hpb=a38d56a6a13dbb89022b5448d2d5247f3f99ea41;p=pdclib.old diff --git a/opt/nothread/mtx_init.c b/opt/nothread/mtx_init.c index ff506e9..922c942 100644 --- a/opt/nothread/mtx_init.c +++ b/opt/nothread/mtx_init.c @@ -5,3 +5,13 @@ int mtx_init(mtx_t *mtx, int type) *mtx = 0; return thrd_success; } + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file