From 84374abae766eb609c9160a73d18c63e034a1c47 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Thu, 26 Dec 2002 10:50:46 +0000 Subject: [arnd_at_bergmann-dalldorf.de] make check_chainloops static function --- kernel/linux/net/bridge/netfilter/ebtables.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kernel/linux/net/bridge/netfilter/ebtables.c') diff --git a/kernel/linux/net/bridge/netfilter/ebtables.c b/kernel/linux/net/bridge/netfilter/ebtables.c index 04afde7..9877321 100644 --- a/kernel/linux/net/bridge/netfilter/ebtables.c +++ b/kernel/linux/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; -- cgit v1.2.3