From: Frank M. Kromann Date: Wed, 3 Nov 2004 01:20:16 +0000 (+0000) Subject: oops missed a couple! X-Git-Tag: RELEASE_0_2~754 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a15a50d353300c25ab9d451fe53d4b56cf12850;p=php oops missed a couple! Add termination block to function table. This will allow the engine to stop registreting functions at the end. This fixes the - duplicate name - warning --- diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 7c03da2863..c65e2d04f5 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -1599,6 +1599,7 @@ static zend_function_entry spl_funcs_EmptyIterator[] = { SPL_ME(EmptyIterator, key, NULL, ZEND_ACC_PUBLIC) SPL_ME(EmptyIterator, current, NULL, ZEND_ACC_PUBLIC) SPL_ME(EmptyIterator, next, NULL, ZEND_ACC_PUBLIC) + {NULL, NULL, NULL} }; int spl_append_it_next_iterator(spl_dual_it_object *intern TSRMLS_DC) /* {{{*/ @@ -1729,6 +1730,7 @@ static zend_function_entry spl_funcs_AppendIterator[] = { SPL_ME(dual_it, current, NULL, ZEND_ACC_PUBLIC) SPL_ME(AppendIterator, next, NULL, ZEND_ACC_PUBLIC) SPL_ME(dual_it, getInnerIterator, NULL, ZEND_ACC_PUBLIC) + {NULL, NULL, NULL} }; /* {{{ array iterator_to_array(IteratorAggregate it)