diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-23 01:10:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:07 -0500 |
commit | 62e3ba1b558e5f393ef746880613fb8222e64d03 (patch) | |
tree | 159c218ad38daef676b2cbc5a00e6b83a04cc16d /net/sched/act_api.c | |
parent | f206351a50ea86250fabea96b9af8d8f8fc02603 (diff) |
[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.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 81506474a4f7..3825508fdcd1 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) | |||
263 | write_unlock(&act_mod_lock); | 263 | write_unlock(&act_mod_lock); |
264 | return 0; | 264 | return 0; |
265 | } | 265 | } |
266 | EXPORT_SYMBOL(tcf_register_action); | ||
266 | 267 | ||
267 | int tcf_unregister_action(struct tc_action_ops *act) | 268 | int tcf_unregister_action(struct tc_action_ops *act) |
268 | { | 269 | { |
@@ -281,6 +282,7 @@ int tcf_unregister_action(struct tc_action_ops *act) | |||
281 | write_unlock(&act_mod_lock); | 282 | write_unlock(&act_mod_lock); |
282 | return err; | 283 | return err; |
283 | } | 284 | } |
285 | EXPORT_SYMBOL(tcf_unregister_action); | ||
284 | 286 | ||
285 | /* lookup by name */ | 287 | /* lookup by name */ |
286 | static struct tc_action_ops *tc_lookup_action_n(char *kind) | 288 | static struct tc_action_ops *tc_lookup_action_n(char *kind) |
@@ -377,6 +379,7 @@ repeat: | |||
377 | exec_done: | 379 | exec_done: |
378 | return ret; | 380 | return ret; |
379 | } | 381 | } |
382 | EXPORT_SYMBOL(tcf_action_exec); | ||
380 | 383 | ||
381 | void tcf_action_destroy(struct tc_action *act, int bind) | 384 | void tcf_action_destroy(struct tc_action *act, int bind) |
382 | { | 385 | { |
@@ -430,6 +433,7 @@ rtattr_failure: | |||
430 | nlmsg_trim(skb, b); | 433 | nlmsg_trim(skb, b); |
431 | return -1; | 434 | return -1; |
432 | } | 435 | } |
436 | EXPORT_SYMBOL(tcf_action_dump_1); | ||
433 | 437 | ||
434 | int | 438 | int |
435 | tcf_action_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref) | 439 | 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) | |||
1077 | } | 1081 | } |
1078 | 1082 | ||
1079 | subsys_initcall(tc_action_init); | 1083 | subsys_initcall(tc_action_init); |
1080 | |||
1081 | EXPORT_SYMBOL(tcf_register_action); | ||
1082 | EXPORT_SYMBOL(tcf_unregister_action); | ||
1083 | EXPORT_SYMBOL(tcf_action_exec); | ||
1084 | EXPORT_SYMBOL(tcf_action_dump_1); | ||