The recv callback has u8_t return type. Fixed the raw_recv() prototype to reflect this.

This commit is contained in:
likewise 2004-05-05 14:21:05 +00:00
parent 5e13b9528d
commit c69b93b246

View File

@ -59,7 +59,7 @@ err_t raw_bind (struct raw_pcb *pcb, struct ip_addr *ipaddr);
err_t raw_connect (struct raw_pcb *pcb, struct ip_addr *ipaddr);
void raw_recv (struct raw_pcb *pcb,
int (* recv)(void *arg, struct raw_pcb *pcb,
u8_t (* recv)(void *arg, struct raw_pcb *pcb,
struct pbuf *p,
struct ip_addr *addr),
void *recv_arg);