The recv callback has u8_t return type. Fixed theraw_pcb struct to reflect this.

This commit is contained in:
likewise 2004-05-05 14:30:28 +00:00
parent e84cc8c0ad
commit 0c960a82ce

View File

@ -46,7 +46,7 @@ struct raw_pcb {
u16_t protocol;
int (* recv)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
u8_t (* recv)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
struct ip_addr *addr);
void *recv_arg;
};