netdev
[Top] [All Lists]

[PATCH] make tcf_proto_lookup_ops() static

To: davem@xxxxxxxxxxxxx
Subject: [PATCH] make tcf_proto_lookup_ops() static
From: Chris Wright <chrisw@xxxxxxxx>
Date: Thu, 21 Oct 2004 18:44:26 -0700
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Make tcf_proto_lookup_ops() static, it's only used in cls_api.c.

Signed-off-by: Chris Wright <chrisw@xxxxxxxx>

===== net/sched/cls_api.c 1.14 vs edited =====
--- 1.14/net/sched/cls_api.c    2004-10-20 01:37:15 -07:00
+++ edited/net/sched/cls_api.c  2004-10-21 18:35:52 -07:00
@@ -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;
 

<Prev in Thread] Current Thread [Next in Thread>