#define LWIP_HDR_SYS_H
#include "lwip/opt.h"
#define sys_sem_new
#define sys_sem_signal
#define sys_sem_wait
#define sys_arch_sem_wait
#define sys_sem_free
#define sys_sem_valid
#define sys_sem_valid_val
#define sys_sem_set_invalid
#define sys_sem_set_invalid_val
#define sys_mutex_new
#define sys_mutex_lock
#define sys_mutex_unlock
#define sys_mutex_free
#define sys_mutex_valid
#define sys_mutex_set_invalid
#define sys_mbox_new
#define sys_mbox_fetch
#define sys_mbox_tryfetch
#define sys_mbox_post
#define sys_mbox_trypost
#define sys_mbox_free
#define sys_mbox_valid
#define sys_mbox_valid_val
#define sys_mbox_set_invalid
#define sys_mbox_set_invalid_val
#define sys_thread_new
#define sys_msleep
#define SYS_ARCH_TIMEOUT
#define SYS_MBOX_EMPTY
#include "lwip/err.h"
#include "arch/sys_arch.h"
#define LWIP_COMPAT_MUTEX
#define sys_mutex_t
#define sys_mutex_new
#define sys_mutex_lock
#define sys_mutex_unlock
#define sys_mutex_free
#define sys_mutex_valid
#define sys_mutex_set_invalid
sys_mutex_new(sys_mutex_t *);
sys_mutex_lock(sys_mutex_t *);
sys_mutex_unlock(sys_mutex_t *);
sys_mutex_free(sys_mutex_t *);
sys_mutex_valid(sys_mutex_t *);
sys_mutex_set_invalid(sys_mutex_t *);
sys_sem_new(sys_sem_t *, u8_t);
sys_sem_signal(sys_sem_t *);
sys_arch_sem_wait(sys_sem_t *, u32_t);
sys_sem_free(sys_sem_t *);
#define sys_sem_wait
sys_sem_valid(sys_sem_t *);
sys_sem_set_invalid(sys_sem_t *);
#define sys_sem_valid_val
#define sys_sem_set_invalid_val
sys_msleep(u32_t);
sys_mbox_new(sys_mbox_t *, int);
sys_mbox_post(sys_mbox_t *, void *);
sys_mbox_trypost(sys_mbox_t *, void *);
sys_mbox_trypost_fromisr(sys_mbox_t *, void *);
sys_arch_mbox_fetch(sys_mbox_t *, void **, u32_t);
sys_arch_mbox_tryfetch(sys_mbox_t *, void **);
#define sys_mbox_tryfetch
sys_mbox_free(sys_mbox_t *);
#define sys_mbox_fetch
sys_mbox_valid(sys_mbox_t *);
sys_mbox_set_invalid(sys_mbox_t *);
#define sys_mbox_valid_val
#define sys_mbox_set_invalid_val
sys_thread_new(const char *, lwip_thread_fn, void *, int, int);
sys_init();
sys_jiffies();
sys_now();
#define SYS_ARCH_DECL_PROTECT
#define SYS_ARCH_PROTECT
#define SYS_ARCH_UNPROTECT
sys_arch_protect();
sys_arch_unprotect(sys_prot_t);
#define SYS_ARCH_DECL_PROTECT
#define SYS_ARCH_PROTECT
#define SYS_ARCH_UNPROTECT