netif_find(): name parameter can be const

This commit is contained in:
goldsimon
2015-08-03 13:47:25 +02:00
parent 614fa7b853
commit 13801ebd74
2 changed files with 2 additions and 2 deletions

View File

@@ -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;