From: foobar Date: Thu, 23 Nov 2000 15:57:24 +0000 (+0000) Subject: Fixed some compile warnings. X-Git-Tag: php-4.0.4RC3~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78ed6e831f4845c22a5f5d8f3cd6a6531a342ce9;p=php Fixed some compile warnings. --- diff --git a/ext/curl/curl.c b/ext/curl/curl.c index 8945272b12..e8b23a30cf 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -45,6 +45,7 @@ /* PHP Includes */ #include "ext/standard/info.h" +#include "ext/standard/file.h" #include "php_curl.h" #ifdef ZTS @@ -267,8 +268,8 @@ PHP_MSHUTDOWN_FUNCTION(curl) return SUCCESS; } -static void curl_free_string(void **string) { - efree(*string); +static void curl_free_string(void *string) { + free(string); } /* {{{ proto string curl_version(void)