mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-11-19 13:31:56 +00:00
Fixed a warning in sys_arch_timeouts() (SYS_ARCH_DECL_PROTECT must be placed after variables)
This commit is contained in:
parent
e0667a84c0
commit
6de783946f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user