Skip to contentSkip to conversation

make tcf_proto_lookup_ops() static

PATCH Applied Chris Wright 2 participants 2 messages Oct 22, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make tcf_proto_lookup_ops() static

Make tcf_proto_lookup_ops() static, it's only used in cls_api.c.

===== net/sched/cls_api.c 1.14 vs edited =====

net/sched/cls_api.c +1 -1
@@ -52,7 +52,7 @@
 
 /* Find classifier type by string name */
 
-struct tcf_proto_ops * tcf_proto_lookup_ops(struct rtattr *kind)
+static struct tcf_proto_ops * tcf_proto_lookup_ops(struct rtattr *kind)
 {
 	struct tcf_proto_ops *t = NULL;