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