summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-04-15 13:53:20 +0000
committerZeev Suraski <zeev@php.net>2000-04-15 13:53:20 +0000
commit81138a641adbf0b53b3219661bde5061fedfd405 (patch)
tree7af657585289546dbee8a05f8b6dd75c86d32790
parent4cb9a483d2a9952e808ca1b705604f842cc13855 (diff)
downloadphp-git-81138a641adbf0b53b3219661bde5061fedfd405.tar.gz
Forgot to commit the php4 fixes
-rw-r--r--main/main.c2
-rw-r--r--main/php3_compat.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index 4e12db583d..9c0eae11ed 100644
--- a/main/main.c
+++ b/main/main.c
@@ -840,7 +840,7 @@ int php_module_startup(sapi_module_struct *sf)
#endif
SET_MUTEX(gLock);
- le_index_ptr = _register_list_destructors(NULL, NULL, 0);
+ le_index_ptr = zend_register_list_destructors(NULL, NULL, 0, NULL);
FREE_MUTEX(gLock);
php_ini_mstartup();
diff --git a/main/php3_compat.h b/main/php3_compat.h
index f2c360e704..213cb5374b 100644
--- a/main/php3_compat.h
+++ b/main/php3_compat.h
@@ -92,4 +92,6 @@
#define getParameters zend_get_parameters
#define getParametersArray zend_get_parameters_array
+#define list_entry zend_rsrc_list_entry
+
#endif /* _PHP_COMPAT_H */