make netif_ip4_* get accessors return const pointers

This commit is contained in:
Dirk Ziegelmeier
2015-09-23 13:19:56 +02:00
committed by goldsimon
parent e588dfdbce
commit e00e4a6c13
9 changed files with 14 additions and 14 deletions

View File

@@ -145,7 +145,7 @@ snmp_oidtoip(s32_t *ident, ip4_addr_t *ip)
* @param ident points to s32_t ident[4] output
*/
void
snmp_iptooid(ip4_addr_t *ip, s32_t *ident)
snmp_iptooid(const ip4_addr_t *ip, s32_t *ident)
{
ident[0] = ip4_addr1(ip);
ident[1] = ip4_addr2(ip);