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...

This commit is contained in:
goldsimon 2007-05-13 10:31:51 +00:00
parent ab4993fda2
commit 19d49db305

View File

@ -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 {