summaryrefslogtreecommitdiff
path: root/net/sched/act_api.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-22 22:10:23 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:11:07 -0800
commit62e3ba1b558e5f393ef746880613fb8222e64d03 (patch)
tree159c218ad38daef676b2cbc5a00e6b83a04cc16d /net/sched/act_api.c
parentf206351a50ea86250fabea96b9af8d8f8fc02603 (diff)
downloadlinux-3.10-62e3ba1b558e5f393ef746880613fb8222e64d03.tar.gz
linux-3.10-62e3ba1b558e5f393ef746880613fb8222e64d03.tar.bz2
linux-3.10-62e3ba1b558e5f393ef746880613fb8222e64d03.zip
[NET_SCHED]: Move EXPORT_SYMBOL next to exported symbol
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_api.c')
-rw-r--r--net/sched/act_api.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index 81506474a4f..3825508fdcd 100644
--- a/net/sched/act_api.c
+++ b/net/sched/act_api.c
@@ -263,6 +263,7 @@ int tcf_register_action(struct tc_action_ops *act)
write_unlock(&act_mod_lock);
return 0;
}
+EXPORT_SYMBOL(tcf_register_action);
int tcf_unregister_action(struct tc_action_ops *act)
{
@@ -281,6 +282,7 @@ int tcf_unregister_action(struct tc_action_ops *act)
write_unlock(&act_mod_lock);
return err;
}
+EXPORT_SYMBOL(tcf_unregister_action);
/* lookup by name */
static struct tc_action_ops *tc_lookup_action_n(char *kind)
@@ -377,6 +379,7 @@ repeat:
exec_done:
return ret;
}
+EXPORT_SYMBOL(tcf_action_exec);
void tcf_action_destroy(struct tc_action *act, int bind)
{
@@ -430,6 +433,7 @@ rtattr_failure:
nlmsg_trim(skb, b);
return -1;
}
+EXPORT_SYMBOL(tcf_action_dump_1);
int
tcf_action_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref)
@@ -1077,8 +1081,3 @@ static int __init tc_action_init(void)
}
subsys_initcall(tc_action_init);
-
-EXPORT_SYMBOL(tcf_register_action);
-EXPORT_SYMBOL(tcf_unregister_action);
-EXPORT_SYMBOL(tcf_action_exec);
-EXPORT_SYMBOL(tcf_action_dump_1);