From 19d49db305cf77bd9a9b06534f3cc4528b7e6a1e Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 13 May 2007 10:31:51 +0000 Subject: [PATCH] sys.h: moved #include "arch/sys_arch.h" down a little, so that functions using the defines SYS_ARCH_TIMEOUT/SYS_MBOX_EMPTY can be define as static (inline) in sys_arch.h. This should not affect any others since the defines couldn't be overridden anyway... --- src/include/lwip/sys.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/sys.h b/src/include/lwip/sys.h index fc666ca8..04fde7a7 100644 --- a/src/include/lwip/sys.h +++ b/src/include/lwip/sys.h @@ -65,8 +65,6 @@ struct sys_timeo {u8_t dummy;}; #else /* NO_SYS */ -#include "arch/sys_arch.h" - /** Return code for timeouts from sys_arch_mbox_fetch and sys_arch_sem_wait */ #define SYS_ARCH_TIMEOUT 0xffffffffUL @@ -75,6 +73,8 @@ struct sys_timeo {u8_t dummy;}; */ #define SYS_MBOX_EMPTY SYS_ARCH_TIMEOUT +#include "arch/sys_arch.h" + typedef void (* sys_timeout_handler)(void *arg); struct sys_timeo {