mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 01:23:48 +08:00
netif_find(): name parameter can be const
This commit is contained in:
@@ -383,7 +383,7 @@ netif_remove(struct netif *netif)
|
||||
* in ascii representation (e.g. 'en0')
|
||||
*/
|
||||
struct netif *
|
||||
netif_find(char *name)
|
||||
netif_find(const char *name)
|
||||
{
|
||||
struct netif *netif;
|
||||
u8_t num;
|
||||
|
||||
Reference in New Issue
Block a user