diff options
Diffstat (limited to 'ext/ftp/php_ftp.h')
-rw-r--r-- | ext/ftp/php_ftp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/ftp/php_ftp.h b/ext/ftp/php_ftp.h index 1a71ba70a1..bc46683ddc 100644 --- a/ext/ftp/php_ftp.h +++ b/ext/ftp/php_ftp.h @@ -13,7 +13,11 @@ extern php3_module_entry php3_ftp_module_entry; #define php3_ftp_module_ptr &php3_ftp_module_entry -extern PHP_MINIT_FUNCTION(ftp); +#ifdef ZEND_VERSION +PHP_MINIT_FUNCTION(ftp); +#else +int PHP_MINIT_FUNCTION(INIT_FUNC_ARGS); +#endif PHP_FUNCTION(ftp_connect); PHP_FUNCTION(ftp_login); @@ -23,7 +27,7 @@ PHP_FUNCTION(ftp_chdir); PHP_FUNCTION(ftp_mkdir); PHP_FUNCTION(ftp_rmdir); PHP_FUNCTION(ftp_nlist); -PHP_FUNCTION(ftp_listraw); +PHP_FUNCTION(ftp_rawlist); PHP_FUNCTION(ftp_systype); PHP_FUNCTION(ftp_get); PHP_FUNCTION(ftp_put); |