Skip to contentSkip to conversation

group all export symbol declarations

PATCH In review Pablo Neira Ayuso 2 participants 2 messages Feb 12, 2007 – Feb 13, 2007

Subsystems (2)
lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 7/7 group all export symbol declarations

Minor cleanup, move nfnetlink_has_listeners where other export_symbol declarations are

Signature · 2 lines
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

[PATCH] group all export symbol declarations

Minor cleanup, move nfnetlink_has_listeners where other export_symbol declarations are

net/netfilter/nfnetlink.c +1 -1
Index: net-2.6.git/net/netfilter/nfnetlink.c
===================================================================
@@ -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);
#1 lore raw
Quoted 2 lines · Pablo Neira Ayuso

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.