[PATCH 1/2] nfnetlink: make needlessly global functions static

From: Harald Welte
Date: Sat Sep 03 2005 - 03:21:58 EST


Hi Dave, please apply the appended patch.

Thanks,
--
- Harald Welte <laforge@xxxxxxxxxxxxx> http://netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[NETFILTER] make needlessly global functions static

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Signed-off-by: Harald Welte <laforge@xxxxxxxxxxxxx>

---
commit a2c9c9a399f2069f31d608d142da8d5d82609b0d
tree 63cce7c2cc4d738a2604c54d87961b4a32ab3aac
parent 0905251a08bf51d5e2d1996c21fcdc5acfbbde13
author Adrian Bunk <bunk@xxxxxxxxx> Sa, 03 Sep 2005 10:34:27 +0200
committer Harald Welte <laforge@xxxxxxxxxxxxx> Sa, 03 Sep 2005 10:34:27 +0200

net/netfilter/nfnetlink.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c
--- a/net/netfilter/nfnetlink.c
+++ b/net/netfilter/nfnetlink.c
@@ -344,14 +344,14 @@ static void nfnetlink_rcv(struct sock *s
} 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);

Attachment: pgp00000.pgp
Description: PGP signature