[2.5 patch] remove #if'd kernel 2.0 code from ipchains_core.h

Adrian Bunk (bunk@fs.tum.de)
Sun, 19 Jan 2003 00:35:17 +0100


The patch below removes some #if'd kernel 2.0 code from
include/linux/netfilter_ipv4/ipchains_core.h.

Please apply
Adrian

--- linux-2.5.59-full/include/linux/netfilter_ipv4/ipchains_core.h.old 2003-01-19 00:31:59.000000000 +0100
+++ linux-2.5.59-full/include/linux/netfilter_ipv4/ipchains_core.h 2003-01-19 00:32:49.000000000 +0100
@@ -178,12 +178,8 @@

#include <linux/config.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
#include <linux/init.h>
extern void ip_fw_init(void) __init;
-#else /* 2.0.x */
-extern void ip_fw_init(void);
-#endif /* 2.1.x */
extern int ip_fw_ctl(int, void *, int);
#ifdef CONFIG_IP_MASQUERADE
extern int ip_masq_uctl(int, char *, int);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/