X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fwin32%2Ffunctions%2Fthreads%2Fmtx_destroy.c;h=2f8a6c308a8be05f4aec0174ddb1f16edda5259f;hp=ac89e11f957aca12069d79bf7473a828c04ade80;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/platform/win32/functions/threads/mtx_destroy.c b/platform/win32/functions/threads/mtx_destroy.c index ac89e11..2f8a6c3 100644 --- a/platform/win32/functions/threads/mtx_destroy.c +++ b/platform/win32/functions/threads/mtx_destroy.c @@ -1,19 +1,19 @@ -#ifndef REGTEST -#include -#include - -void mtx_destroy(mtx_t *mtx) -{ - CloseHandle(mtx->_WaitEvHandle); -} -#endif - -#ifdef TEST -#include "_PDCLIB_test.h" - -int main( void ) -{ - return TEST_RESULTS; -} - +#ifndef REGTEST +#include +#include + +void mtx_destroy(mtx_t *mtx) +{ + CloseHandle(mtx->_WaitEvHandle); +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + #endif \ No newline at end of file