BizHawk/waterbox/libc/functions/nothread/mtx_init.c

20 lines
211 B
C

#ifndef REGTEST
#include <threads.h>
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