From 51070e8f18771bec12e3702e1ce6f6eb6503a503 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 20 Aug 2018 16:01:01 -0700 Subject: [PATCH] genl: drop extern from function prototypes Signed-off-by: Stephen Hemminger --- genl/genl_utils.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/genl/genl_utils.h b/genl/genl_utils.h index 6e6f4450..3de0da34 100644 --- a/genl/genl_utils.h +++ b/genl/genl_utils.h @@ -10,9 +10,10 @@ 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)(const struct sockaddr_nl *who, + struct nlmsghdr *n, void *arg); }; -extern int genl_ctrl_resolve_family(const char *family); +int genl_ctrl_resolve_family(const char *family); #endif