Rename uip_driver_s net_driver_s
This commit is contained in:
parent
5387d7dd99
commit
72abff23e3
@ -81,7 +81,7 @@
|
||||
* dangerous to reference global variables in the callback function.
|
||||
*/
|
||||
|
||||
/* static */ int netdev_callback(FAR struct uip_driver_s *dev, void *arg)
|
||||
/* static */ int netdev_callback(FAR struct net_driver_s *dev, void *arg)
|
||||
{
|
||||
struct in_addr addr;
|
||||
|
||||
|
@ -279,7 +279,7 @@ static inline void net_statistics(FAR struct nsh_vtbl_s *vtbl)
|
||||
* Name: ifconfig_callback
|
||||
****************************************************************************/
|
||||
|
||||
int ifconfig_callback(FAR struct uip_driver_s *dev, void *arg)
|
||||
int ifconfig_callback(FAR struct net_driver_s *dev, void *arg)
|
||||
{
|
||||
struct nsh_vtbl_s *vtbl = (struct nsh_vtbl_s*)arg;
|
||||
struct in_addr addr;
|
||||
|
Loading…
Reference in New Issue
Block a user