mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-27 02:26:55 +08:00
PPP, CORE, using u8_t on ioctl command instead of int
We don't need an int here, all commands are between 0 and 255.
This commit is contained in:
@@ -497,7 +497,7 @@ err_t ppp_free(ppp_pcb *pcb);
|
||||
* Get and set parameters for the given connection.
|
||||
* Return 0 on success, an error code on failure.
|
||||
*/
|
||||
err_t ppp_ioctl(ppp_pcb *pcb, int cmd, void *arg);
|
||||
err_t ppp_ioctl(ppp_pcb *pcb, u8_t cmd, void *arg);
|
||||
|
||||
/* Get the PPP netif interface */
|
||||
#define ppp_netif(ppp) (ppp->netif)
|
||||
|
||||
Reference in New Issue
Block a user