* [2.5 patch] remove #if'd kernel 2.0 code from ipchains_core.h
@ 2003-01-18 23:35 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-18 23:35 UTC (permalink / raw)
To: linux-net; +Cc: linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-18 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-18 23:35 [2.5 patch] remove #if'd kernel 2.0 code from ipchains_core.h Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®