summaryrefslogtreecommitdiffstats
path: root/kernel/expand_macros.pl
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-04-22 17:00:42 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-04-22 17:00:42 +0200
commit5b20d409ef3062b24bbe7667f0daec34523446a6 (patch)
tree426e99a410b2b975460b5b0fb5a409d4381a16c8 /kernel/expand_macros.pl
parent8e0608d31d988333ff04f3faaa6e851c0ecdbc6e (diff)
Fifth stage to ipset-5
Rename files in kernel/ and get rid of old ones (2.4.x kernel tree support).
Diffstat (limited to 'kernel/expand_macros.pl')
-rwxr-xr-xkernel/expand_macros.pl17
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/expand_macros.pl b/kernel/expand_macros.pl
deleted file mode 100755
index ea0f4b6..0000000
--- a/kernel/expand_macros.pl
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/perl
-
-my $expand = 0;
-
-while (<STDIN>) {
- if ($expand) {
- print C;
- } elsif (m,include \<(linux/netfilter_ipv4/ip_set\.h)\>,) {
- $expand = 1;
- open(C, "|gcc -D__KERNEL__ -Iinclude -E - 2>/dev/null| indent -kr -i8") || die "Can't run gcc: $!\n";
- print C;
- } else {
- print;
- }
-}
-close C;
- \ No newline at end of file