Minor fix (warning, linker helper) signaled by Bill Florac

This commit is contained in:
fbernon 2007-07-29 08:11:33 +00:00
parent f0b33f5ced
commit b8b04271b5
2 changed files with 4 additions and 0 deletions

View File

@ -421,6 +421,7 @@ do_newconn(struct api_msg_msg *msg)
TCPIP_APIMSG_ACK(msg); TCPIP_APIMSG_ACK(msg);
} }
#if LWIP_TCP
static void static void
do_close_internal(struct netconn *conn) do_close_internal(struct netconn *conn)
{ {
@ -458,6 +459,7 @@ do_close_internal(struct netconn *conn)
/* If closing didn't succeed, we get called again either /* If closing didn't succeed, we get called again either
from poll_tcp or from sent_tcp */ from poll_tcp or from sent_tcp */
} }
#endif /* LWIP_TCP */
/** /**
* Delete the pcb inside a netconn. * Delete the pcb inside a netconn.

View File

@ -559,6 +559,8 @@ etharp_find_addr(struct netif *netif, struct ip_addr *ipaddr,
{ {
s8_t i; s8_t i;
LWIP_UNUSED_ARG(netif);
#if LWIP_NETIF_HWADDRHINT #if LWIP_NETIF_HWADDRHINT
i = find_entry(ipaddr, ETHARP_FIND_ONLY, NULL); i = find_entry(ipaddr, ETHARP_FIND_ONLY, NULL);
#else /* LWIP_NETIF_HWADDRHINT */ #else /* LWIP_NETIF_HWADDRHINT */