lkml.org 
[lkml]   [2003]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] 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


--- 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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.020 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site