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