netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] make tcf_proto_lookup_ops() static
@ 2004-10-22  1:44 Chris Wright
  2004-10-22  5:57 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Wright @ 2004-10-22  1:44 UTC (permalink / raw)
  To: davem; +Cc: netdev

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

Signed-off-by: Chris Wright <chrisw@osdl.org>

===== 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;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] make tcf_proto_lookup_ops() static
  2004-10-22  1:44 [PATCH] make tcf_proto_lookup_ops() static Chris Wright
@ 2004-10-22  5:57 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-10-22  5:57 UTC (permalink / raw)
  To: Chris Wright; +Cc: netdev

On Thu, 21 Oct 2004 18:44:26 -0700
Chris Wright <chrisw@osdl.org> wrote:

> Make tcf_proto_lookup_ops() static, it's only used in cls_api.c.
> 
> Signed-off-by: Chris Wright <chrisw@osdl.org>

Applied, thanks Chris.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-22  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22  1:44 [PATCH] make tcf_proto_lookup_ops() static Chris Wright
2004-10-22  5:57 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).