X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fwin32%2Ffunctions%2Fthreads%2Fmtx_init.c;h=72055519128933d52d93dcbfb3e3feb94d9bca02;hp=19db3908dc0430cfa6b08be47877014999782565;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=639bad513ab9399ed9a8c588a476a10dbe6c9478 diff --git a/platform/win32/functions/threads/mtx_init.c b/platform/win32/functions/threads/mtx_init.c index 19db390..7205551 100644 --- a/platform/win32/functions/threads/mtx_init.c +++ b/platform/win32/functions/threads/mtx_init.c @@ -11,7 +11,6 @@ int mtx_init(mtx_t *mtx, int type) if(mtx->_WaitEvHandle == NULL) return thrd_error; - mtx->_State = -1; mtx->_ThreadId = 0; mtx->_NestCount = 0;; @@ -20,7 +19,7 @@ int mtx_init(mtx_t *mtx, int type) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {