summaryrefslogtreecommitdiffstats
path: root/kernel/linux2.5/net/bridge/netfilter/ebtables.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-12-26 10:50:46 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-12-26 10:50:46 +0000
commit84374abae766eb609c9160a73d18c63e034a1c47 (patch)
treeac80c3926f03b06ba5a68fefe455453970fafed4 /kernel/linux2.5/net/bridge/netfilter/ebtables.c
parentd3a029e1481258248be752949a2b1958d1fd3528 (diff)
[arnd_at_bergmann-dalldorf.de] make check_chainloops static function
Diffstat (limited to 'kernel/linux2.5/net/bridge/netfilter/ebtables.c')
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/ebtables.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebtables.c b/kernel/linux2.5/net/bridge/netfilter/ebtables.c
index 25ab7a2..2244913 100644
--- a/kernel/linux2.5/net/bridge/netfilter/ebtables.c
+++ b/kernel/linux2.5/net/bridge/netfilter/ebtables.c
@@ -664,8 +664,9 @@ cleanup_matches:
// checks for loops and sets the hook mask for udc
// the hook mask for udc tells us from which base chains the udc can be
// accessed. This mask is a parameter to the check() functions of the extensions
-int check_chainloops(struct ebt_entries *chain, struct ebt_cl_stack *cl_s,
- unsigned int udc_cnt, unsigned int hooknr, char *base)
+static int check_chainloops(struct ebt_entries *chain,
+ struct ebt_cl_stack *cl_s, unsigned int udc_cnt,
+ unsigned int hooknr, char *base)
{
int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict;
struct ebt_entry *e = (struct ebt_entry *)chain->data;