Fixed a warning in sys_arch_timeouts() (SYS_ARCH_DECL_PROTECT must be placed after variables)

This commit is contained in:
goldsimon 2008-06-17 19:44:18 +00:00
parent e0667a84c0
commit 6de783946f

View File

@ -194,8 +194,8 @@ struct sys_timeouts *sys_arch_timeouts(void)
{
struct sys_timeouts *ret = NULL;
struct threadlist *t, *new_thread;
SYS_ARCH_DECL_PROTECT(lev);
DWORD threadID;
SYS_ARCH_DECL_PROTECT(lev);
threadID = GetCurrentThreadId();
SYS_ARCH_PROTECT(lev);