From: Adrian Bunk Date: Tue, 6 Sep 2005 01:06:45 +0000 (-0700) Subject: [NETFILTER]: net/netfilter/nfnetlink*: make functions static X-Git-Tag: v2.6.14-rc1~762 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=395dde20fb06153feb65d79d7fe83eda41bf50e7;p=linux-2.6-omap-h63xx.git [NETFILTER]: net/netfilter/nfnetlink*: make functions static This patch makes needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller --- diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c index e089f17bb80..49a3900e3d3 100644 --- a/net/netfilter/nfnetlink.c +++ b/net/netfilter/nfnetlink.c @@ -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); diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index e3a5285329a..052fc97dae9 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c @@ -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;