diff options
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r-- | networking/libiproute/ipaddress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index faa3f2d06..7a948a19d 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c | |||
@@ -196,7 +196,7 @@ static int flush_update(void) | |||
196 | return 0; | 196 | return 0; |
197 | } | 197 | } |
198 | 198 | ||
199 | static int print_addrinfo(struct sockaddr_nl *who ATTRIBUTE_UNUSED, | 199 | static int print_addrinfo(const struct sockaddr_nl *who ATTRIBUTE_UNUSED, |
200 | struct nlmsghdr *n, void *arg ATTRIBUTE_UNUSED) | 200 | struct nlmsghdr *n, void *arg ATTRIBUTE_UNUSED) |
201 | { | 201 | { |
202 | struct ifaddrmsg *ifa = NLMSG_DATA(n); | 202 | struct ifaddrmsg *ifa = NLMSG_DATA(n); |
@@ -380,7 +380,7 @@ static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo) | |||
380 | } | 380 | } |
381 | 381 | ||
382 | 382 | ||
383 | static int store_nlmsg(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) | 383 | static int store_nlmsg(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) |
384 | { | 384 | { |
385 | struct nlmsg_list **linfo = (struct nlmsg_list**)arg; | 385 | struct nlmsg_list **linfo = (struct nlmsg_list**)arg; |
386 | struct nlmsg_list *h; | 386 | struct nlmsg_list *h; |