aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_rules.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-07 21:50:48 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 14:54:07 -0700
commit8ce11e6a9faf1f1c849b77104adc1642c46aee95 (patch)
tree58b169b6856d5eafb8cbc1fa547ff967be9ad30c /net/ipv4/fib_rules.c
parent[SUNRPC]: Update to use in-kernel sockets API. (diff)
downloadlinux-dev-8ce11e6a9faf1f1c849b77104adc1642c46aee95.tar.xz
linux-dev-8ce11e6a9faf1f1c849b77104adc1642c46aee95.zip
[NET]: Make code static.
This patch makes needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_rules.c')
-rw-r--r--net/ipv4/fib_rules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index 23ec6ae1a0f6..03d1e8a43a48 100644
--- a/net/ipv4/fib_rules.c
+++ b/net/ipv4/fib_rules.c
@@ -101,8 +101,8 @@ int fib_lookup(struct flowi *flp, struct fib_result *res)
return err;
}
-int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, int flags,
- struct fib_lookup_arg *arg)
+static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp,
+ int flags, struct fib_lookup_arg *arg)
{
int err = -EAGAIN;
struct fib_table *tbl;