Skip to contentSkip to conversation

remove #if'd kernel 2.0 code from ipchains_core.h

PATCH New Adrian Bunk 1 participant 1 message Jan 18, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove #if'd kernel 2.0 code from ipchains_core.h

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

Please apply
Adrian

include/linux/netfilter_ipv4/ipchains_core.h renamed from include/linux/netfilter_ipv4/ipchains_core.h.old +0 -4
@@ -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);