netdev
[Top] [All Lists]

[PATCH 2.6 2/5]: mirred: mark some functions static

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH 2.6 2/5]: mirred: mark some functions static
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Thu, 04 Nov 2004 07:25:45 +0100
Cc: netdev@xxxxxxxxxxx, jamal <hadi@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041008 Debian/1.7.3-5
Mark some functions static in mirred action.


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/11/04 06:40:04+01:00 kaber@xxxxxxxxxxxx 
#   [PKT_SCHED]: mirred: mark some functions static
#   
#   Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
# 
# net/sched/mirred.c
#   2004/11/04 06:39:58+01:00 kaber@xxxxxxxxxxxx +4 -4
#   [PKT_SCHED]: mirred: mark some functions static
#   
#   Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
# 
diff -Nru a/net/sched/mirred.c b/net/sched/mirred.c
--- a/net/sched/mirred.c        2004-11-04 07:17:19 +01:00
+++ b/net/sched/mirred.c        2004-11-04 07:17:19 +01:00
@@ -76,7 +76,7 @@
        return 0;
 }
 
-int
+static int
 tcf_mirred_init(struct rtattr *rta, struct rtattr *est, struct tc_action 
*a,int ovr, int bind)
 {
        struct rtattr *tb[TCA_MIRRED_MAX];
@@ -150,7 +150,7 @@
 
 }
 
-int
+static int
 tcf_mirred_cleanup(struct tc_action *a, int bind)
 {
        struct tcf_mirred *p;
@@ -160,7 +160,7 @@
        return 0;
 }
 
-int
+static int
 tcf_mirred(struct sk_buff **pskb, struct tc_action *a)
 {
        struct tcf_mirred *p;
@@ -235,7 +235,7 @@
        return p->action;
 }
 
-int
+static int
 tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a,int bind, int ref)
 {
        unsigned char *b = skb->tail;
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2.6 2/5]: mirred: mark some functions static, Patrick McHardy <=