From b17e779c2c0cdd1a84b88cc95cac34b7f0794046 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sat, 22 Feb 2003 00:15:45 -0800 Subject: [PATCH] [NET]: Remove __NO_VERSION__ from networking code. --- net/ipv4/netfilter/ip_conntrack_core.c | 3 --- net/ipv4/netfilter/ip_conntrack_proto_tcp.c | 1 - net/ipv4/netfilter/ip_nat_core.c | 3 --- net/ipv4/netfilter/ip_nat_rule.c | 1 - net/ipv6/icmp.c | 1 - net/ipv6/ipv6_sockglue.c | 1 - net/ipv6/mcast.c | 1 - net/ipv6/ndisc.c | 1 - net/ipv6/sit.c | 1 - net/ipv6/tcp_ipv6.c | 1 - net/irda/irproc.c | 1 - net/netrom/nr_dev.c | 1 - net/rose/rose_dev.c | 1 - net/sctp/ipv6.c | 1 - net/sunrpc/auth_gss/auth_gss.c | 1 - net/sunrpc/auth_gss/sunrpcgss_syms.c | 1 - net/sunrpc/stats.c | 1 - net/sunrpc/sunrpc_syms.c | 1 - net/sunrpc/sysctl.c | 1 - 19 files changed, 23 deletions(-) diff --git a/net/ipv4/netfilter/ip_conntrack_core.c b/net/ipv4/netfilter/ip_conntrack_core.c index 89ff2e83e25b6..2f357cbd7018a 100644 --- a/net/ipv4/netfilter/ip_conntrack_core.c +++ b/net/ipv4/netfilter/ip_conntrack_core.c @@ -13,9 +13,6 @@ * - export ip_conntrack[_expect]_{find_get,put} functions * */ -#ifdef MODULE -#define __NO_VERSION__ -#endif #include #include #include diff --git a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c index 01c56b8d54f03..c6d70ff4a5a4e 100644 --- a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c +++ b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c @@ -1,4 +1,3 @@ -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv4/netfilter/ip_nat_core.c b/net/ipv4/netfilter/ip_nat_core.c index 020a6af6acde9..377a50121229c 100644 --- a/net/ipv4/netfilter/ip_nat_core.c +++ b/net/ipv4/netfilter/ip_nat_core.c @@ -2,9 +2,6 @@ /* (c) 1999 Paul `Rusty' Russell. Licenced under the GNU General Public Licence. */ -#ifdef MODULE -#define __NO_VERSION__ -#endif #include #include #include diff --git a/net/ipv4/netfilter/ip_nat_rule.c b/net/ipv4/netfilter/ip_nat_rule.c index 1b8cc3808fa6d..7ae3e26398397 100644 --- a/net/ipv4/netfilter/ip_nat_rule.c +++ b/net/ipv4/netfilter/ip_nat_rule.c @@ -1,5 +1,4 @@ /* Everything about the rules for NAT. */ -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 447eb58e452ad..2be1cfadb4546 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c @@ -28,7 +28,6 @@ * YOSHIFUJI Hideaki @USAGI: added sysctl for icmp rate limit. */ -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c index a62a73c9fa147..4fabfaf060086 100644 --- a/net/ipv6/ipv6_sockglue.c +++ b/net/ipv6/ipv6_sockglue.c @@ -21,7 +21,6 @@ * o Return an optlen of the truncated length if need be */ -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 16870b1d3d504..6ab60641f03f3 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -26,7 +26,6 @@ * - MLD for link-local addresses. */ -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 390d02c4a7f20..ea9859dc5842a 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -42,7 +42,6 @@ #define ND_PRINTK2 ND_PRINTK #endif -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index f5d29b5fa6745..1ca86b7af7173 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -18,7 +18,6 @@ * Nate Thompson : 6to4 support */ -#define __NO_VERSION__ #include #include #include diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 437e81cebb7f1..d719a83e8d1dd 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -24,7 +24,6 @@ * 2 of the License, or (at your option) any later version. */ -#define __NO_VERSION__ #include #include #include diff --git a/net/irda/irproc.c b/net/irda/irproc.c index 835a4db93e8ab..c5f9cc1d00dd4 100644 --- a/net/irda/irproc.c +++ b/net/irda/irproc.c @@ -25,7 +25,6 @@ #include #include -#define __NO_VERSION__ #include #include diff --git a/net/netrom/nr_dev.c b/net/netrom/nr_dev.c index 67308a60d2dc9..f1f77dc3e8ee9 100644 --- a/net/netrom/nr_dev.c +++ b/net/netrom/nr_dev.c @@ -7,7 +7,6 @@ * Copyright Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) */ #include -#define __NO_VERSION__ #include #include #include diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c index befeaac639377..5796cc8867b66 100644 --- a/net/rose/rose_dev.c +++ b/net/rose/rose_dev.c @@ -7,7 +7,6 @@ * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) */ #include -#define __NO_VERSION__ #include #include #include diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index afd577b71bdc0..9edfd47ddfc78 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c @@ -45,7 +45,6 @@ * be incorporated into the next SCTP release. */ -#define __NO_VERSION__ #include #include #include diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 0a82d6f5a9c73..56fb17be86c41 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -38,7 +38,6 @@ */ -#define __NO_VERSION__ #include #include #include diff --git a/net/sunrpc/auth_gss/sunrpcgss_syms.c b/net/sunrpc/auth_gss/sunrpcgss_syms.c index 307da4aad27e5..179d2331dd450 100644 --- a/net/sunrpc/auth_gss/sunrpcgss_syms.c +++ b/net/sunrpc/auth_gss/sunrpcgss_syms.c @@ -1,4 +1,3 @@ -#define __NO_VERSION__ #include #include diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c index ad7a1d700d276..4ba7f3d5c2e46 100644 --- a/net/sunrpc/stats.c +++ b/net/sunrpc/stats.c @@ -12,7 +12,6 @@ * Copyright (C) 1995, 1996, 1997 Olaf Kirch */ -#define __NO_VERSION__ #include #include diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index 0956d2e0f207f..b7b05e2197f34 100644 --- a/net/sunrpc/sunrpc_syms.c +++ b/net/sunrpc/sunrpc_syms.c @@ -6,7 +6,6 @@ * Copyright (C) 1997 Olaf Kirch */ -#define __NO_VERSION__ #include #include diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index 7d27211d375b0..8f052c2f999d5 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c @@ -14,7 +14,6 @@ #include #include #include -#define __NO_VERSION__ #include #include -- 2.53.0