]> granicus.if.org Git - php/commitdiff
- Drop unnecessary exports to prevent forward BC problems
authorMarcus Boerger <helly@php.net>
Mon, 31 Oct 2005 21:20:44 +0000 (21:20 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 31 Oct 2005 21:20:44 +0000 (21:20 +0000)
ext/simplexml/php_simplexml_exports.h
ext/simplexml/simplexml.c

index db97da074e1c3c9993986f42ab091f35e12b15a3..9f95498c55463358ac8a91ffb59c8c6d1f95b25c 100755 (executable)
@@ -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;
index 19bb0fadec24af7b4aa4dd7b694c9de8f112585a..26675c8cff766a32a73ea181efa7c6934943805b 100644 (file)
@@ -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;