summaryrefslogtreecommitdiff
path: root/scripts/conv_proto
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-11-15 11:55:58 +0000
committerSVN Migration <svn@php.net>2002-11-15 11:55:58 +0000
commit5bc46bd808cdb47a06c9c9063d287f99201c0419 (patch)
treed95f02f9ec11e86e4da7bda4e41f2cd45a25ca6f /scripts/conv_proto
parent66ec203e70cb4cee6cd91449ffb403731f3298e5 (diff)
downloadphp-git-BEFORE_RENAMING.tar.gz
This commit was manufactured by cvs2svn to create tag 'BEFORE_RENAMING'.BEFORE_RENAMING
Diffstat (limited to 'scripts/conv_proto')
-rwxr-xr-xscripts/conv_proto30
1 files changed, 0 insertions, 30 deletions
diff --git a/scripts/conv_proto b/scripts/conv_proto
deleted file mode 100755
index fad9cfaa83..0000000000
--- a/scripts/conv_proto
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /bin/sh
-#
-# do some automatic conversion of prototypes
-#
-
-if test "$1" = "" ; then
- echo "usage: $0 list-of-files"
- exit 1
-fi
-
-tmpfile=`mktemp -q /tmp/asd.XXXXXX`
-
-if test "$?" != "0" ; then
- echo "$0: cannot create temporary file"
- exit 1
-fi
-
-for file in ${1+"$@"} ; do
- echo "working on $file"
- cat $file | \
- sed -e \
- 's/void php3_\(.*\)(INTERNAL_FUNCTION_PARAMETERS)/PHP_FUNCTION(\1)/' \
- -e 's/^extern void /void /' \
- -e 's/^extern PHP_FUNCTION/PHP_FUNCTION/' > $tmpfile
- cp $tmpfile $file
-done
-
-rm -f $tmpfile
-
-exit 0