aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet/dn_rules.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-14 23:55:20 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 14:54:40 -0700
commit2aa7f36cdb332a32849afbf25fcbf35dce5b1940 (patch)
treedcf6403b12dbd2b37148a6e8abca74b3ceb36019 /net/decnet/dn_rules.c
parent[TG3]: Constify firmware structs (diff)
downloadlinux-dev-2aa7f36cdb332a32849afbf25fcbf35dce5b1940.tar.xz
linux-dev-2aa7f36cdb332a32849afbf25fcbf35dce5b1940.zip
[DECNET]: cleanups
- make the following needlessly global functions static: - dn_fib.c: dn_fib_sync_down() - dn_fib.c: dn_fib_sync_up() - dn_rules.c: dn_fib_rule_action() - remove the following unneeded prototype: - dn_fib.c: dn_cache_dump() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/decnet/dn_rules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c
index 977bb56c3ce4..50e819edf8c7 100644
--- a/net/decnet/dn_rules.c
+++ b/net/decnet/dn_rules.c
@@ -75,8 +75,8 @@ int dn_fib_lookup(struct flowi *flp, struct dn_fib_res *res)
return err;
}
-int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, int flags,
- struct fib_lookup_arg *arg)
+static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp,
+ int flags, struct fib_lookup_arg *arg)
{
int err = -EAGAIN;
struct dn_fib_table *tbl;