summaryrefslogtreecommitdiff
path: root/ext/spl/spl_functions.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-12-06 15:24:47 +0000
committerMarcus Boerger <helly@php.net>2008-12-06 15:24:47 +0000
commite244527833de2e47cc54f4e0fa18448cc6b8d538 (patch)
tree463543e9b391ff61cbe75fccc6c3b45c193045b2 /ext/spl/spl_functions.c
parentdbee447265eddaf1b20913affaa004b6086ba0d1 (diff)
downloadphp-git-e244527833de2e47cc54f4e0fa18448cc6b8d538.tar.gz
- MFH Remove more dead code
Diffstat (limited to 'ext/spl/spl_functions.c')
-rwxr-xr-xext/spl/spl_functions.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/ext/spl/spl_functions.c b/ext/spl/spl_functions.c
index f407b983b5..c080378a2a 100755
--- a/ext/spl/spl_functions.c
+++ b/ext/spl/spl_functions.c
@@ -27,14 +27,6 @@
#include "ext/standard/info.h"
#include "php_spl.h"
-/* {{{ spl_destroy_class */
-void spl_destroy_class(zend_class_entry ** ppce)
-{
- SPL_DEBUG(fprintf(stderr, "Destroy(%s): %s\n", (*ppce)->type == ZEND_USER_CLASS ? "user" : "other", (*ppce)->name);)
- destroy_zend_class(ppce);
-}
-/* }}} */
-
/* {{{ spl_register_interface */
void spl_register_interface(zend_class_entry ** ppce, char * class_name, const zend_function_entry * functions TSRMLS_DC)
{
@@ -77,20 +69,6 @@ PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry *
}
/* }}} */
-/* {{{ spl_register_parent_ce */
-void spl_register_parent_ce(zend_class_entry * class_entry, zend_class_entry * parent_class TSRMLS_DC)
-{
- class_entry->parent = parent_class;
-}
-/* }}} */
-
-/* {{{ spl_register_functions */
-void spl_register_functions(zend_class_entry * class_entry, const zend_function_entry * function_list TSRMLS_DC)
-{
- zend_register_functions(class_entry, function_list, &class_entry->function_table, MODULE_PERSISTENT TSRMLS_CC);
-}
-/* }}} */
-
/* {{{ spl_register_property */
void spl_register_property( zend_class_entry * class_entry, char *prop_name, int prop_name_len, int prop_flags TSRMLS_DC)
{