Added #if !NO_SYS to most of the api files since they only work with a sys layer (makes it easier for port projects).

This commit is contained in:
goldsimon
2007-05-18 11:27:46 +00:00
parent 4192df97ec
commit 8fa3b6802e
4 changed files with 12 additions and 0 deletions

View File

@@ -47,6 +47,8 @@
#include "lwip/tcpip.h"
#include "lwip/igmp.h"
#if !NO_SYS
static void (* tcpip_init_done)(void *arg) = NULL;
static void *tcpip_init_done_arg = NULL;
static sys_mbox_t mbox = SYS_MBOX_NULL;
@@ -368,3 +370,4 @@ tcpip_init(void (* initfunc)(void *), void *arg)
sys_thread_new(tcpip_thread, NULL, TCPIP_THREAD_PRIO);
}
#endif /* !NO_SYS */