netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 7/7] group all export symbol declarations
@ 2007-02-12 22:46 Pablo Neira Ayuso
  2007-02-13 11:06 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Neira Ayuso @ 2007-02-12 22:46 UTC (permalink / raw)
  To: Netfilter Development Mailinglist; +Cc: Patrick McHardy

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

Minor cleanup, move nfnetlink_has_listeners where other export_symbol
declarations are

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris

[-- Attachment #2: 09.patch --]
[-- Type: text/plain, Size: 999 bytes --]

[PATCH] group all export symbol declarations

Minor cleanup, move nfnetlink_has_listeners where other export_symbol
declarations are

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> 

Index: net-2.6.git/net/netfilter/nfnetlink.c
===================================================================
--- net-2.6.git.orig/net/netfilter/nfnetlink.c	2007-01-21 23:51:14.000000000 +0100
+++ net-2.6.git/net/netfilter/nfnetlink.c	2007-01-21 23:51:15.000000000 +0100
@@ -145,7 +145,6 @@ int nfnetlink_has_listeners(unsigned int
 {
 	return netlink_has_listeners(nfnl, group);
 }
-EXPORT_SYMBOL_GPL(nfnetlink_has_listeners);
 
 int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, int echo)
 {
@@ -311,5 +310,6 @@ EXPORT_SYMBOL_GPL(nfnetlink_subsys_regis
 EXPORT_SYMBOL_GPL(nfnetlink_subsys_unregister);
 EXPORT_SYMBOL_GPL(nfnetlink_send);
 EXPORT_SYMBOL_GPL(nfnetlink_unicast);
+EXPORT_SYMBOL_GPL(nfnetlink_has_listeners);
 EXPORT_SYMBOL_GPL(nfattr_parse);
 EXPORT_SYMBOL_GPL(__nfa_fill);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 7/7] group all export symbol declarations
  2007-02-12 22:46 [PATCH 7/7] group all export symbol declarations Pablo Neira Ayuso
@ 2007-02-13 11:06 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2007-02-13 11:06 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist

Pablo Neira Ayuso wrote:
> Minor cleanup, move nfnetlink_has_listeners where other export_symbol
> declarations are

Please do it the other way around, EXPORT_SYMBOL should be next to
the exported symbol.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-13 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-12 22:46 [PATCH 7/7] group all export symbol declarations Pablo Neira Ayuso
2007-02-13 11:06 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).