Commit c6d01af8 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Unexport some functions from kernel_netlink.

parent acb3d768
...@@ -1082,7 +1082,7 @@ kernel_routes(struct kernel_route *routes, int maxroutes) ...@@ -1082,7 +1082,7 @@ kernel_routes(struct kernel_route *routes, int maxroutes)
return found; return found;
} }
char * static char *
parse_ifname_rta(struct ifinfomsg *info, int len) parse_ifname_rta(struct ifinfomsg *info, int len)
{ {
struct rtattr *rta = IFLA_RTA(info); struct rtattr *rta = IFLA_RTA(info);
...@@ -1103,7 +1103,7 @@ parse_ifname_rta(struct ifinfomsg *info, int len) ...@@ -1103,7 +1103,7 @@ parse_ifname_rta(struct ifinfomsg *info, int len)
return ifname; return ifname;
} }
int static int
parse_addr_rta(struct ifaddrmsg *addr, int len, struct in6_addr *res) parse_addr_rta(struct ifaddrmsg *addr, int len, struct in6_addr *res)
{ {
struct rtattr *rta; struct rtattr *rta;
...@@ -1137,7 +1137,7 @@ parse_addr_rta(struct ifaddrmsg *addr, int len, struct in6_addr *res) ...@@ -1137,7 +1137,7 @@ parse_addr_rta(struct ifaddrmsg *addr, int len, struct in6_addr *res)
return 0; return 0;
} }
int static int
filter_link(struct nlmsghdr *nh, void *data) filter_link(struct nlmsghdr *nh, void *data)
{ {
struct ifinfomsg *info; struct ifinfomsg *info;
...@@ -1170,7 +1170,7 @@ filter_link(struct nlmsghdr *nh, void *data) ...@@ -1170,7 +1170,7 @@ filter_link(struct nlmsghdr *nh, void *data)
return 0; return 0;
} }
int static int
filter_addresses(struct nlmsghdr *nh, void *data) filter_addresses(struct nlmsghdr *nh, void *data)
{ {
int rc; int rc;
...@@ -1231,7 +1231,7 @@ filter_addresses(struct nlmsghdr *nh, void *data) ...@@ -1231,7 +1231,7 @@ filter_addresses(struct nlmsghdr *nh, void *data)
return 1; return 1;
} }
int static int
filter_netlink(struct nlmsghdr *nh, void *data) filter_netlink(struct nlmsghdr *nh, void *data)
{ {
int rc; int rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment