From 6de783946f8510b5f8b88bfabd4d85250968e93b Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 17 Jun 2008 19:44:18 +0000 Subject: [PATCH] Fixed a warning in sys_arch_timeouts() (SYS_ARCH_DECL_PROTECT must be placed after variables) --- ports/win32/sys_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/win32/sys_arch.c b/ports/win32/sys_arch.c index ba603ef..f0be216 100644 --- a/ports/win32/sys_arch.c +++ b/ports/win32/sys_arch.c @@ -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);