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:
Freddie Chopin
2019-12-05 22:01:05 +01:00
committed by Sylvain Rochet
parent c5021bdc4d
commit 5ad2f06333
2 changed files with 4 additions and 3 deletions

View File

@@ -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);
/*