Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 395dde20 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[NETFILTER]: net/netfilter/nfnetlink*: make functions static



This patch makes needlessly global functions static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 43d60661
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -344,14 +344,14 @@ static void nfnetlink_rcv(struct sock *sk, int len)
	} while(nfnl && nfnl->sk_receive_queue.qlen);
}

void __exit nfnetlink_exit(void)
static void __exit nfnetlink_exit(void)
{
	printk("Removing netfilter NETLINK layer.\n");
	sock_release(nfnl->sk_socket);
	return;
}

int __init nfnetlink_init(void)
static int __init nfnetlink_init(void)
{
	printk("Netfilter messages via NETLINK v%s.\n", nfversion);

+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ typedef int (*nfqnl_cmpfn)(struct nfqnl_queue_entry *, unsigned long);

static DEFINE_RWLOCK(instances_lock);

u_int64_t htonll(u_int64_t in)
static u_int64_t htonll(u_int64_t in)
{
	u_int64_t out;
	int i;