mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-07 12:55:57 +00:00
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:
parent
ab4993fda2
commit
19d49db305
@ -65,8 +65,6 @@ struct sys_timeo {u8_t dummy;};
|
|||||||
|
|
||||||
#else /* NO_SYS */
|
#else /* NO_SYS */
|
||||||
|
|
||||||
#include "arch/sys_arch.h"
|
|
||||||
|
|
||||||
/** Return code for timeouts from sys_arch_mbox_fetch and sys_arch_sem_wait */
|
/** Return code for timeouts from sys_arch_mbox_fetch and sys_arch_sem_wait */
|
||||||
#define SYS_ARCH_TIMEOUT 0xffffffffUL
|
#define SYS_ARCH_TIMEOUT 0xffffffffUL
|
||||||
|
|
||||||
@ -75,6 +73,8 @@ struct sys_timeo {u8_t dummy;};
|
|||||||
*/
|
*/
|
||||||
#define SYS_MBOX_EMPTY SYS_ARCH_TIMEOUT
|
#define SYS_MBOX_EMPTY SYS_ARCH_TIMEOUT
|
||||||
|
|
||||||
|
#include "arch/sys_arch.h"
|
||||||
|
|
||||||
typedef void (* sys_timeout_handler)(void *arg);
|
typedef void (* sys_timeout_handler)(void *arg);
|
||||||
|
|
||||||
struct sys_timeo {
|
struct sys_timeo {
|
||||||
|
Loading…
Reference in New Issue
Block a user