summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-10-31 21:20:44 (GMT)
committerMarcus Boerger <helly@php.net>2005-10-31 21:20:44 (GMT)
commit9622ccfacede347d6e3b6934b10345ce6c23603a (patch)
tree07f099f8464d761fdef6f9e1f86a82d454db3ebf
parent681405fc4a9cfc76d7a2312e286f038c28fb267a (diff)
downloadphp-9622ccfacede347d6e3b6934b10345ce6c23603a.tar.gz
- Drop unnecessary exports to prevent forward BC problems
-rwxr-xr-xext/simplexml/php_simplexml_exports.h3
-rw-r--r--ext/simplexml/simplexml.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/ext/simplexml/php_simplexml_exports.h b/ext/simplexml/php_simplexml_exports.h
index db97da0..9f95498 100755
--- a/ext/simplexml/php_simplexml_exports.h
+++ b/ext/simplexml/php_simplexml_exports.h
@@ -49,9 +49,6 @@ php_sxe_fetch_object(zval *object TSRMLS_DC)
}
/* }}} */
-ZEND_API void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC);
-ZEND_API void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC);
-
typedef struct {
zend_object_iterator intern;
php_sxe_object *sxe;
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 19bb0fa..26675c8 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -51,6 +51,8 @@ ZEND_API zend_class_entry *sxe_get_element_class_entry()
static php_sxe_object* php_sxe_object_new(zend_class_entry *ce TSRMLS_DC);
static zend_object_value php_sxe_register_object(php_sxe_object * TSRMLS_DC);
+static void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC);
+static void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC);
/* {{{ _node_as_zval()
*/
@@ -1404,7 +1406,7 @@ zend_object_iterator_funcs php_sxe_iterator_funcs = {
php_sxe_iterator_rewind,
};
-ZEND_API void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC)
+static void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC)
{
xmlNodePtr node;
char *prefix;
@@ -1519,7 +1521,7 @@ static int php_sxe_iterator_current_key(zend_object_iterator *iter, char **str_k
}
-ZEND_API void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC)
+static void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC)
{
xmlNodePtr node = NULL;
php_sxe_object *intern;