aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 644874f46..d042af07b 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
199static int print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM, 199static int FAST_FUNC print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM,
200 struct nlmsghdr *n, void *arg UNUSED_PARAM) 200 struct nlmsghdr *n, void *arg UNUSED_PARAM)
201{ 201{
202 struct ifaddrmsg *ifa = NLMSG_DATA(n); 202 struct ifaddrmsg *ifa = NLMSG_DATA(n);
@@ -349,8 +349,7 @@ static int print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM,
349} 349}
350 350
351 351
352struct nlmsg_list 352struct nlmsg_list {
353{
354 struct nlmsg_list *next; 353 struct nlmsg_list *next;
355 struct nlmsghdr h; 354 struct nlmsghdr h;
356}; 355};
@@ -377,7 +376,7 @@ static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo)
377} 376}
378 377
379 378
380static int store_nlmsg(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) 379static int FAST_FUNC store_nlmsg(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
381{ 380{
382 struct nlmsg_list **linfo = (struct nlmsg_list**)arg; 381 struct nlmsg_list **linfo = (struct nlmsg_list**)arg;
383 struct nlmsg_list *h; 382 struct nlmsg_list *h;