*
* 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;
*
* @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;
*
* 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;
*
* 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;