mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 09:06:55 +08:00
PPP, PPPoS: Use const void* instead of u8_t* in pppos_input()
There is no good reason why this function should take a non-const pointer. While changing that also switch to a more generic `void*` instead of "byte".
This commit is contained in:
committed by
Sylvain Rochet
parent
c5021bdc4d
commit
5ad2f06333
@@ -106,7 +106,7 @@ err_t pppos_input_tcpip(ppp_pcb *ppp, const void *s, int l);
|
||||
#endif /* !NO_SYS && !PPP_INPROC_IRQ_SAFE */
|
||||
|
||||
/* PPP over Serial: this is the input function to be called for received data. */
|
||||
void pppos_input(ppp_pcb *ppp, u8_t* data, int len);
|
||||
void pppos_input(ppp_pcb *ppp, const void* data, int len);
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user