netdev
[Top] [All Lists]

[PATCH 2.6 1/5]: pedit: mark some functions static

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH 2.6 1/5]: pedit: mark some functions static
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Thu, 04 Nov 2004 07:25:42 +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 pedit action.


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/11/04 06:38:09+01:00 kaber@xxxxxxxxxxxx 
#   [PKT_SCHED]: pedit: mark some functions static
#   
#   Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
# 
# net/sched/pedit.c
#   2004/11/04 06:38:02+01:00 kaber@xxxxxxxxxxxx +4 -4
#   [PKT_SCHED]: pedit: mark some functions static
#   
#   Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
# 
diff -Nru a/net/sched/pedit.c b/net/sched/pedit.c
--- a/net/sched/pedit.c 2004-11-04 07:17:14 +01:00
+++ b/net/sched/pedit.c 2004-11-04 07:17:14 +01:00
@@ -53,7 +53,7 @@
 #include <net/pkt_act.h>
 
 
-int
+static int
 tcf_pedit_init(struct rtattr *rta, struct rtattr *est, struct tc_action *a,int 
ovr, int bind)
 {
        struct rtattr *tb[TCA_PEDIT_MAX];
@@ -100,7 +100,7 @@
        return ret;
 }
 
-int
+static int
 tcf_pedit_cleanup(struct tc_action *a, int bind)
 {
        struct tcf_pedit *p;
@@ -113,7 +113,7 @@
 /*
 **
 */
-int
+static int
 tcf_pedit(struct sk_buff **pskb, struct tc_action *a)
 {
        struct tcf_pedit *p;
@@ -191,7 +191,7 @@
        return p->action;
 }
 
-int
+static int
 tcf_pedit_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 1/5]: pedit: mark some functions static, Patrick McHardy <=