summaryrefslogtreecommitdiff
path: root/Zend/zend_list.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-02 06:16:20 +0000
committerZeev Suraski <zeev@php.net>2001-08-02 06:16:20 +0000
commit7deb44e36d98395af07e629ad9b646e0adb8cf55 (patch)
treee77f3b7db550bdad9d19013c18a1ac88af22593f /Zend/zend_list.c
parent37a3490f33315dde55b3aa7eb2ced860148c967f (diff)
downloadphp-git-7deb44e36d98395af07e629ad9b646e0adb8cf55.tar.gz
Some cleanup
Diffstat (limited to 'Zend/zend_list.c')
-rw-r--r--Zend/zend_list.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/Zend/zend_list.c b/Zend/zend_list.c
index 6f868715da..dc61aa3272 100644
--- a/Zend/zend_list.c
+++ b/Zend/zend_list.c
@@ -228,10 +228,9 @@ int zend_init_rsrc_plist(TSRMLS_D)
}
-void zend_destroy_rsrc_list(TSRMLS_D)
+void zend_destroy_rsrc_list(HashTable *ht TSRMLS_DC)
{
Bucket *p, *q;
- HashTable *ht = &EG(regular_list);
while (1) {
p = ht->pListTail;
@@ -258,13 +257,6 @@ void zend_destroy_rsrc_list(TSRMLS_D)
}
-
-void zend_destroy_rsrc_plist(TSRMLS_D)
-{
- zend_hash_reverse_destroy(&EG(persistent_list));
-}
-
-
static int clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRMLS_DC)
{
if (le->type == *resource_id) {