Use sys_arch_sem_wait instead of sys_sem_wait_timeout (same function, different name)
Removed sys_sem_wait_timeout, added comments to the port-supplied sys(-arch)-functions
Fixed wrong printf formatter
Removed invalid assert (always true)
Fixed a compiler warning (comparison between signed and unsigned)
Fixed bug #28866 (mem_realloc function defined in mem.h)
Use braces for if blocks
struct netconn.socket is only used with LWIP_SOCKET; added comments
task #10139 (Prefer statically allocated memory): converted mbox and semaphore functions to take pointers to sys_mbox_t/sys_sem_t; converted sys_mbox_new/sys_sem_new to take pointers and return err_t; task #7212: Add Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX to let sys.h use binary semaphores instead of mutexes - as before)
Fixed compilation for NO_SYS==1
Added comment about mem_realloc() vs. realloc()
Fixed bug #28865 (Cannot close socket/netconn in non-blocking connect)
patch #6865 (SO_REUSEADDR for TCP): if tcp_pcb.flags has TF_REUSEADDR set, allow binding to endpoint in TIME_WAIT
Fixed comment to our flag names
Code layout: splitted long line
patch #6865: use so_options SOF_REUSEADDR instead of flags TF_REUSEADDR (which has ben removed again)
task #10139 (Prefer statically allocated memory): added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work with user-allocated structs instead of callin mem_malloc
netif_set_link_up/down: only do something if the link state actually changes
Fixed indentation
Added a minimal version of posix fctl() to have a standardised way to set O_NONBLOCK for nonblocking sockets.