X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=opt%2Fnothread%2Fmtx_unlock.c;h=1c11401f7931788068b98ec49bc0ec625d871a22;hb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;hp=02244bbed591b682cc065cf694e72f4a73a7cccb;hpb=a38d56a6a13dbb89022b5448d2d5247f3f99ea41;p=pdclib.old diff --git a/opt/nothread/mtx_unlock.c b/opt/nothread/mtx_unlock.c index 02244bb..1c11401 100644 --- a/opt/nothread/mtx_unlock.c +++ b/opt/nothread/mtx_unlock.c @@ -6,4 +6,14 @@ int mtx_unlock(mtx_t *mtx) *mtx = 0; return thrd_success; } else return thrd_error; -} \ No newline at end of file +} + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file