From: Michael Wallner Date: Mon, 25 Sep 2006 08:36:15 +0000 (+0000) Subject: - remove unused bits X-Git-Tag: RELEASE_1_3_1~11 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=feba1657a156f10d687e6e239e95e26536270eaa - remove unused bits --- diff --git a/scripts/gen_curlinfo.php b/scripts/gen_curlinfo.php index 129833a..92bde38 100644 --- a/scripts/gen_curlinfo.php +++ b/scripts/gen_curlinfo.php @@ -28,14 +28,6 @@ function file_re($file, $pattern, $all = true) { failure(); } -function version($major, $minor, $pl) { - static $version; - - $version or $version = file_re('curlver.h', '/^#\s*define\s+LIBCURL_VERSION\s+"(\d+)\.(\d+)\.(\d+)(?:-\w+)?"\s*$/m', false); - - return $major <= $version[1] && $minor <= $version[2] && $pl <= $version[3]; -} - $ifdefs = array( 'COOKIELIST' => '7,14,1' ); @@ -75,7 +67,6 @@ $templates = array( ' ); -$types = file_re('curl.h', '/^#\s*define\s+CURLINFO_(STRING|LONG|DOUBLE|SLIST|MASK|TYPEMASK)\s+(0x[0-9a-fA-F]+)\s*$/m'); $infos = file_re('curl.h', '/^\s*(CURLINFO_(\w+))\s*=\s*CURLINFO_(STRING|LONG|DOUBLE|SLIST)\s*\+\s*\d+\s*,?\s*$/m'); ob_start();