mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
The recv callback has u8_t return type. Fixed theraw_pcb struct to reflect this.
This commit is contained in:
@@ -46,7 +46,7 @@ struct raw_pcb {
|
|||||||
|
|
||||||
u16_t protocol;
|
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);
|
struct ip_addr *addr);
|
||||||
void *recv_arg;
|
void *recv_arg;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user