aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_api.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-23 01:10:23 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:11:07 -0500
commit62e3ba1b558e5f393ef746880613fb8222e64d03 (patch)
tree159c218ad38daef676b2cbc5a00e6b83a04cc16d /net/sched/act_api.c
parentf206351a50ea86250fabea96b9af8d8f8fc02603 (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.c9
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}
266EXPORT_SYMBOL(tcf_register_action);
266 267
267int tcf_unregister_action(struct tc_action_ops *act) 268int 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}
285EXPORT_SYMBOL(tcf_unregister_action);
284 286
285/* lookup by name */ 287/* lookup by name */
286static struct tc_action_ops *tc_lookup_action_n(char *kind) 288static struct tc_action_ops *tc_lookup_action_n(char *kind)
@@ -377,6 +379,7 @@ repeat:
377exec_done: 379exec_done:
378 return ret; 380 return ret;
379} 381}
382EXPORT_SYMBOL(tcf_action_exec);
380 383
381void tcf_action_destroy(struct tc_action *act, int bind) 384void 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}
436EXPORT_SYMBOL(tcf_action_dump_1);
433 437
434int 438int
435tcf_action_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref) 439tcf_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
1079subsys_initcall(tc_action_init); 1083subsys_initcall(tc_action_init);
1080
1081EXPORT_SYMBOL(tcf_register_action);
1082EXPORT_SYMBOL(tcf_unregister_action);
1083EXPORT_SYMBOL(tcf_action_exec);
1084EXPORT_SYMBOL(tcf_action_dump_1);