]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
genl: remove unnecessary extern
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Sep 2018 18:53:07 +0000 (11:53 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Sep 2018 18:53:07 +0000 (11:53 -0700)
extern not necessary on function prototype.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/libgenl.h

index cd13f476116e05f3bca8f4e7ba97af67a84c7206..656493a2c3c41fb43bf1996c1a9f30338eccdead 100644 (file)
@@ -21,8 +21,8 @@ struct {                                                              \
        },                                                              \
 }
 
-extern int genl_resolve_family(struct rtnl_handle *grth, const char *family);
-extern int genl_init_handle(struct rtnl_handle *grth, const char *family,
-                           int *genl_family);
+int genl_resolve_family(struct rtnl_handle *grth, const char *family);
+int genl_init_handle(struct rtnl_handle *grth, const char *family,
+                    int *genl_family);
 
 #endif /* __LIBGENL_H__ */