summaryrefslogtreecommitdiff
path: root/linux/net/ipsec/alg/scripts/mk-static_init.c.sh
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-04-12 20:30:08 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-04-12 20:30:08 +0000
commitb0d8ed94fe9e74afb49fdf5f11e4add29879c65c (patch)
treeb20167235628771046e940a82a906a6d0991ee4a /linux/net/ipsec/alg/scripts/mk-static_init.c.sh
parentea939d07c84d2a8e51215458063fc05e9c399290 (diff)
downloadvyos-strongswan-b0d8ed94fe9e74afb49fdf5f11e4add29879c65c.tar.gz
vyos-strongswan-b0d8ed94fe9e74afb49fdf5f11e4add29879c65c.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.1.1)
Diffstat (limited to 'linux/net/ipsec/alg/scripts/mk-static_init.c.sh')
-rw-r--r--linux/net/ipsec/alg/scripts/mk-static_init.c.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/linux/net/ipsec/alg/scripts/mk-static_init.c.sh b/linux/net/ipsec/alg/scripts/mk-static_init.c.sh
deleted file mode 100644
index 8a17c670e..000000000
--- a/linux/net/ipsec/alg/scripts/mk-static_init.c.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-cat << EOF
-#include <linux/kernel.h>
-#include <linux/list.h>
-#include "freeswan/ipsec_alg.h"
-$(for i in $*; do
- test -z "$i" && continue
- echo "extern int $i(void);"
-done)
-void ipsec_alg_static_init(void){
- int __attribute__ ((unused)) err=0;
-$(for i in $*; do
- test -z "$i" && continue
- echo " if ((err=$i()) < 0)"
- echo " printk(KERN_WARNING \"$i() returned %d\", err);"
-done)
-}
-EOF