aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-28 06:06:46 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-28 06:06:46 -0500
commit6113b748fb9935399ec2bbca3a3dc82008f6167f (patch)
treee53a8aa00592959286da449e4360f11363f89ac1 /net
parentea5693ccc553951ae44cb963b28cce85edc275c9 (diff)
pkt_sched: fix sparse warning
Impact: make global function static Fix the following sparse warning: net/sched/sch_api.c:192:14: warning: symbol 'qdisc_match_from_root' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/sched/sch_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index f859dd5fabf4..6bc29e8a7f32 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -189,7 +189,7 @@ EXPORT_SYMBOL(unregister_qdisc);
189 (root qdisc, all its children, children of children etc.) 189 (root qdisc, all its children, children of children etc.)
190 */ 190 */
191 191
192struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) 192static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle)
193{ 193{
194 struct Qdisc *q; 194 struct Qdisc *q;
195 195