X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_init.c;h=e1bf08e93ba51583f99f6e06fcf8b38131a38ff8;hp=6d48970a75e1c0fe8db3db36caeacf1a0ecd8b80;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/opt/nothread/mtx_init.c b/opt/nothread/mtx_init.c index 6d48970..e1bf08e 100644 --- a/opt/nothread/mtx_init.c +++ b/opt/nothread/mtx_init.c @@ -1,19 +1,19 @@ -#ifndef REGTEST -#include - -int mtx_init(mtx_t *mtx, int type) -{ - *mtx = 0; - return thrd_success; -} -#endif - -#ifdef TEST -#include "_PDCLIB_test.h" - -int main( void ) -{ - return TEST_RESULTS; -} - -#endif +#ifndef REGTEST +#include + +int mtx_init(mtx_t *mtx, int type) +{ + *mtx = 0; + return thrd_success; +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif