Netdev List
 help / color / mirror / Atom feed
* [PATCH 1/2] nfnetlink: make needlessly global functions static
@ 2005-09-03  8:39 Harald Welte
  0 siblings, 0 replies; only message in thread
From: Harald Welte @ 2005-09-03  8:39 UTC (permalink / raw)
  To: David Miller
  Cc: Netfilter Development Mailinglist, Linux Netdev List,
	linux-kernel, bunk


[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]

Hi Dave, please apply the appended patch.

Thanks,
-- 
- Harald Welte <laforge@netfilter.org>                 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

[-- Attachment #1.2: 53-fnnetlink-static.patch --]
[-- Type: text/plain, Size: 1129 bytes --]

[NETFILTER] make needlessly global functions static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Harald Welte <laforge@netfilter.org>

---
commit a2c9c9a399f2069f31d608d142da8d5d82609b0d
tree 63cce7c2cc4d738a2604c54d87961b4a32ab3aac
parent 0905251a08bf51d5e2d1996c21fcdc5acfbbde13
author Adrian Bunk <bunk@stusta.de> Sa, 03 Sep 2005 10:34:27 +0200
committer Harald Welte <laforge@netfilter.org> 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 #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-03  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-03  8:39 [PATCH 1/2] nfnetlink: make needlessly global functions static Harald Welte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox