diff options
author | Zeev Suraski <zeev@php.net> | 2001-03-28 14:56:28 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-03-28 14:56:28 +0000 |
commit | 8c13f9d56f4458a9ee49139837e55a793e474606 (patch) | |
tree | 152580a42fbb31d8e8052ab86cf99bf194372803 | |
parent | de291baf63687aba0b4cc44489833a746d744ea1 (diff) | |
download | php-git-8c13f9d56f4458a9ee49139837e55a793e474606.tar.gz |
Remove redundant code
-rw-r--r-- | Zend/zend_list.c | 24 | ||||
-rw-r--r-- | Zend/zend_list.h | 3 |
2 files changed, 0 insertions, 27 deletions
diff --git a/Zend/zend_list.c b/Zend/zend_list.c index 8a800a0729..29a8abc990 100644 --- a/Zend/zend_list.c +++ b/Zend/zend_list.c @@ -87,14 +87,6 @@ ZEND_API int zend_list_insert(void *ptr, int type) } -ZEND_API int zend_plist_insert(void *ptr, int type) -{ - ELS_FETCH(); - - return zend_list_do_insert(&EG(persistent_list), ptr, type); -} - - ZEND_API int zend_list_addref(int id) { zend_rsrc_list_entry *le; @@ -118,14 +110,6 @@ ZEND_API int zend_list_delete(int id) } -ZEND_API int zend_plist_delete(int id) -{ - ELS_FETCH(); - - return zend_list_do_delete(&EG(persistent_list), id); -} - - ZEND_API void *zend_list_find(int id, int *type) { ELS_FETCH(); @@ -134,14 +118,6 @@ ZEND_API void *zend_list_find(int id, int *type) } -ZEND_API void *zend_plist_find(int id, int *type) -{ - ELS_FETCH(); - - return zend_list_do_find(&EG(persistent_list), id, type); -} - - ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type) { int rsrc_id; diff --git a/Zend/zend_list.h b/Zend/zend_list.h index 4d9c3fb825..85085cb9b9 100644 --- a/Zend/zend_list.h +++ b/Zend/zend_list.h @@ -74,12 +74,9 @@ int zend_init_rsrc_list_dtors(void); void zend_destroy_rsrc_list_dtors(void); ZEND_API int zend_list_insert(void *ptr, int type); -ZEND_API int zend_plist_insert(void *ptr, int type); ZEND_API int zend_list_addref(int id); ZEND_API int zend_list_delete(int id); -ZEND_API int zend_plist_delete(int id); ZEND_API void *zend_list_find(int id, int *type); -ZEND_API void *zend_plist_find(int id, int *type); ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type); ZEND_API void *zend_fetch_resource(zval **passed_id, int default_id, char *resource_type_name, int *found_resource_type, int num_resource_types, ...); |