make tcf_proto_lookup_ops() static
Subsystems (3)
PATCH 1/1 make tcf_proto_lookup_ops() static
Make tcf_proto_lookup_ops() static, it's only used in cls_api.c.
Signed-off-by Chris Wright <[email protected]>
===== 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 ;
Quoted 3 lines · On Thu, 21 Oct 2004 18:44:26 -0700 Chris Wright <[email protected]> wrote:
Make
tcf_proto_lookup_ops()static, it's only used incls_api.c.Signed-off-by Chris Wright <[email protected]>
Applied, thanks Chris.