X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Futils%2Flnetconfig%2Fliblnetconfig_netlink.c;h=1fb25da21f9300753df045a14238ec3cf210cfe9;hb=d9cd9992b9e04bfad1ebd755f78d3e96850eaa32;hp=7e056ca0e37c8253a0bf50c50b99a9dba3f4753a;hpb=0163acf4f3fa65299e2574d9cee12c41c16b6ee7;p=fs%2Flustre-release.git diff --git a/lnet/utils/lnetconfig/liblnetconfig_netlink.c b/lnet/utils/lnetconfig/liblnetconfig_netlink.c index 7e056ca..1fb25da 100644 --- a/lnet/utils/lnetconfig/liblnetconfig_netlink.c +++ b/lnet/utils/lnetconfig/liblnetconfig_netlink.c @@ -220,7 +220,7 @@ int lnet_genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], * * Return 0 on success or a Netlink error code. */ -int nl_socket_enable_broadcast_error(struct nl_sock *sk) +static int nl_socket_enable_broadcast_error(struct nl_sock *sk) { const int state = 1; /* enable errors */ int err; @@ -245,7 +245,7 @@ int nl_socket_enable_broadcast_error(struct nl_sock *sk) * * @return 0 on success or a negative error code */ -int nl_socket_set_ext_ack(struct nl_sock *sk, int state) +static int nl_socket_set_ext_ack(struct nl_sock *sk, int state) { int err; @@ -270,7 +270,7 @@ int nl_socket_set_ext_ack(struct nl_sock *sk, int state) * * Return 0 on success or a negative error code. */ -int lustre_netlink_register(struct nl_sock *sk, bool async_events) +static int lustre_netlink_register(struct nl_sock *sk, bool async_events) { int rc; @@ -306,8 +306,8 @@ int lustre_netlink_register(struct nl_sock *sk, bool async_events) * * Return 0 on success or a negative error code. */ -int lustre_netlink_add_group(struct nl_sock *nl, const char *family, - const char *group) +static int lustre_netlink_add_group(struct nl_sock *nl, const char *family, + const char *group) { int group_id;