helly Mon Jan 26 02:52:53 2004 EDT
Modified files:
/php-src/ext/spl spl_functions.c
Log:
We are in c not c++
http://cvs.php.net/diff.php/php-src/ext/spl/spl_functions.c?r1=1.21&r2=1.22&ty=u
Index: php-src/ext/spl/spl_functions.c
diff -u php-src/ext/spl/spl_functions.c:1.21 php-src/ext/spl/spl_functions.c:1.22
--- php-src/ext/spl/spl_functions.c:1.21 Sun Jan 25 12:30:19 2004
+++ php-src/ext/spl/spl_functions.c Mon Jan 26 02:52:52 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_functions.c,v 1.21 2004/01/25 17:30:19 helly Exp $ */
+/* $Id: spl_functions.c,v 1.22 2004/01/26 07:52:52 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -133,10 +133,11 @@
/* {{{ spl_add_classes */
int spl_add_classes(zend_class_entry ** ppce, zval *list, int sub, int allow, int
ce_flags TSRMLS_DC)
{
+ zend_class_entry *pce = *ppce;
+
if (!ppce) {
return 0;
}
- zend_class_entry *pce = *ppce;
spl_add_class_name(list, pce, allow, ce_flags TSRMLS_CC);
if (sub) {
spl_add_interfaces(list, pce, allow, ce_flags TSRMLS_CC);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php