aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_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/sch_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/sch_api.c')
-rw-r--r--net/sched/sch_api.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 273c628be054..dc89a9343f30 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -158,6 +158,7 @@ out:
158 write_unlock(&qdisc_mod_lock); 158 write_unlock(&qdisc_mod_lock);
159 return rc; 159 return rc;
160} 160}
161EXPORT_SYMBOL(register_qdisc);
161 162
162int unregister_qdisc(struct Qdisc_ops *qops) 163int unregister_qdisc(struct Qdisc_ops *qops)
163{ 164{
@@ -176,6 +177,7 @@ int unregister_qdisc(struct Qdisc_ops *qops)
176 write_unlock(&qdisc_mod_lock); 177 write_unlock(&qdisc_mod_lock);
177 return err; 178 return err;
178} 179}
180EXPORT_SYMBOL(unregister_qdisc);
179 181
180/* We know handle. Find qdisc among all qdisc's attached to device 182/* We know handle. Find qdisc among all qdisc's attached to device
181 (root qdisc, all its children, children of children etc.) 183 (root qdisc, all its children, children of children etc.)
@@ -255,6 +257,7 @@ struct qdisc_rate_table *qdisc_get_rtab(struct tc_ratespec *r, struct rtattr *ta
255 } 257 }
256 return rtab; 258 return rtab;
257} 259}
260EXPORT_SYMBOL(qdisc_get_rtab);
258 261
259void qdisc_put_rtab(struct qdisc_rate_table *tab) 262void qdisc_put_rtab(struct qdisc_rate_table *tab)
260{ 263{
@@ -271,6 +274,7 @@ void qdisc_put_rtab(struct qdisc_rate_table *tab)
271 } 274 }
272 } 275 }
273} 276}
277EXPORT_SYMBOL(qdisc_put_rtab);
274 278
275static enum hrtimer_restart qdisc_watchdog(struct hrtimer *timer) 279static enum hrtimer_restart qdisc_watchdog(struct hrtimer *timer)
276{ 280{
@@ -1289,8 +1293,3 @@ static int __init pktsched_init(void)
1289} 1293}
1290 1294
1291subsys_initcall(pktsched_init); 1295subsys_initcall(pktsched_init);
1292
1293EXPORT_SYMBOL(qdisc_get_rtab);
1294EXPORT_SYMBOL(qdisc_put_rtab);
1295EXPORT_SYMBOL(register_qdisc);
1296EXPORT_SYMBOL(unregister_qdisc);