mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
The recv callback has u8_t return type. Fixed the raw_recv() prototype to reflect this.
This commit is contained in:
parent
5e13b9528d
commit
c69b93b246
@ -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);
|
err_t raw_connect (struct raw_pcb *pcb, struct ip_addr *ipaddr);
|
||||||
|
|
||||||
void raw_recv (struct raw_pcb *pcb,
|
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 pbuf *p,
|
||||||
struct ip_addr *addr),
|
struct ip_addr *addr),
|
||||||
void *recv_arg);
|
void *recv_arg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user