Socket I/F: Cleanup for good CONFIG_NET_PKT build.

This commit is contained in:
Gregory Nutt
2017-07-14 13:43:04 -06:00
parent 47aed25836
commit 7441c5422f
5 changed files with 18 additions and 2 deletions

View File

@@ -1096,6 +1096,13 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
}
#endif
#if !defined(CONFIG_NET_IPv4) && !defined(CONFIG_NET_IPv6)
UNUSED(hostip);
UNUSED(mask);
UNUSED(gwip);
UNUSED(gip);
#endif
return OK;
}
#endif