summaryrefslogtreecommitdiffstats
path: root/genl/genl_utils.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-19 13:42:36 -0700
committerDavid Ahern <dsahern@gmail.com>2018-10-22 09:43:48 -0700
commitcd554f2c2f67a56248333f221efe3d841a0173ec (patch)
treed0a4cf5213078123b686bf5f7b4eb64c21436a49 /genl/genl_utils.h
parent9d16a1de1faa19278fe90838a9d4f62641ac5959 (diff)
Tree wide: Drop sockaddr_nl arg
No function, filter, or print function uses the sockaddr_nl arg, so just drop it. Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'genl/genl_utils.h')
-rw-r--r--genl/genl_utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/genl/genl_utils.h b/genl/genl_utils.h
index 3de0da34..cc1f3fb7 100644
--- a/genl/genl_utils.h
+++ b/genl/genl_utils.h
@@ -10,8 +10,7 @@ struct genl_util
struct genl_util *next;
char name[16];
int (*parse_genlopt)(struct genl_util *fu, int argc, char **argv);
- int (*print_genlopt)(const struct sockaddr_nl *who,
- struct nlmsghdr *n, void *arg);
+ int (*print_genlopt)(struct nlmsghdr *n, void *arg);
};
int genl_ctrl_resolve_family(const char *family);