Automated leading tab to spaces conversion.

This commit is contained in:
xorstream
2017-01-21 12:28:22 +11:00
parent df41c49e2d
commit 770c5616e2
69 changed files with 3839 additions and 3839 deletions

22
uc.c
View File

@ -268,15 +268,15 @@ uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine **result)
if (uc->reg_reset)
uc->reg_reset(uc);
// init winsock sockets so we can use select() for usleep() implementation
// init winsock sockets so we can use select() for usleep() implementation
#ifdef _MSC_VER
{
WSADATA wsa_data;
WSAStartup(0x202, &wsa_data);
}
{
WSADATA wsa_data;
WSAStartup(0x202, &wsa_data);
}
#endif
return UC_ERR_OK;
return UC_ERR_OK;
} else {
return UC_ERR_ARCH;
}
@ -355,14 +355,14 @@ uc_err uc_close(uc_engine *uc)
memset(uc, 0, sizeof(*uc));
free(uc);
// free winsock sockets - used so we can use select() for usleep() implementation
// free winsock sockets - used so we can use select() for usleep() implementation
#ifdef _MSC_VER
{
WSACleanup();
}
{
WSACleanup();
}
#endif
return UC_ERR_OK;
return UC_ERR_OK;
}