@@ -90,7 +90,6 @@ struct xfrm_filter {
extern struct xfrm_filter filter;
int xfrm_state_print(struct nlmsghdr *n, void *arg);
-int xfrm_state_print_nokeys(struct nlmsghdr *n, void *arg);
int xfrm_policy_print(struct nlmsghdr *n, void *arg);
int do_xfrm_state(int argc, char **argv);
int do_xfrm_policy(int argc, char **argv);
@@ -1027,7 +1027,7 @@ int xfrm_state_print(struct nlmsghdr *n, void *arg)
return __do_xfrm_state_print(n, arg, false);
}
-int xfrm_state_print_nokeys(struct nlmsghdr *n, void *arg)
+static int xfrm_state_print_nokeys(struct nlmsghdr *n, void *arg)
{
return __do_xfrm_state_print(n, arg, true);
}
This function is only used in one file. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> --- ip/xfrm.h | 1 - ip/xfrm_state.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)