Use C style comments.In debug stataments cast various struct pointers to void* to

avoid printf warnings.misc warnings in etharp.
This commit is contained in:
jani
2002-12-17 09:41:16 +00:00
parent a071cbf86c
commit c0a8ef6f6f
6 changed files with 21 additions and 32 deletions

View File

@@ -77,11 +77,11 @@ tcpip_thread(void *arg)
sys_mbox_fetch(mbox, (void *)&msg);
switch(msg->type) {
case TCPIP_MSG_API:
DEBUGF(TCPIP_DEBUG, ("tcpip_thread: API message %p\n", msg));
DEBUGF(TCPIP_DEBUG, ("tcpip_thread: API message %p\n", (void *)msg));
api_msg_input(msg->msg.apimsg);
break;
case TCPIP_MSG_INPUT:
DEBUGF(TCPIP_DEBUG, ("tcpip_thread: IP packet %p\n", msg));
DEBUGF(TCPIP_DEBUG, ("tcpip_thread: IP packet %p\n", (void *)msg));
ip_input(msg->msg.inp.p, msg->msg.inp.netif);
break;
default: