You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2011/04/11 22:58:47 UTC

svn commit: r1091205 - in /apr/apr/trunk/xml: apr_xml.c apr_xml_expat.c apr_xml_internal.h apr_xml_libxml2.c

Author: fuankg
Date: Mon Apr 11 20:58:47 2011
New Revision: 1091205

URL: http://svn.apache.org/viewvc?rev=1091205&view=rev
Log:
Changed funtion name; removed export declaration.

Modified:
    apr/apr/trunk/xml/apr_xml.c
    apr/apr/trunk/xml/apr_xml_expat.c
    apr/apr/trunk/xml/apr_xml_internal.h
    apr/apr/trunk/xml/apr_xml_libxml2.c

Modified: apr/apr/trunk/xml/apr_xml.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/xml/apr_xml.c?rev=1091205&r1=1091204&r2=1091205&view=diff
==============================================================================
--- apr/apr/trunk/xml/apr_xml.c (original)
+++ apr/apr/trunk/xml/apr_xml.c Mon Apr 11 20:58:47 2011
@@ -316,7 +316,7 @@ static void cdata_handler(void *userdata
 
 APR_DECLARE(apr_xml_parser *) apr_xml_parser_create(apr_pool_t *pool)
 {
-    return apr_xml_parser_create_ex(pool, &start_handler, &end_handler, &cdata_handler);
+    return apr_xml_parser_create_internal(pool, &start_handler, &end_handler, &cdata_handler);
 }
 
 APR_DECLARE(apr_status_t) apr_xml_parser_feed(apr_xml_parser *parser,

Modified: apr/apr/trunk/xml/apr_xml_expat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/xml/apr_xml_expat.c?rev=1091205&r1=1091204&r2=1091205&view=diff
==============================================================================
--- apr/apr/trunk/xml/apr_xml_expat.c (original)
+++ apr/apr/trunk/xml/apr_xml_expat.c Mon Apr 11 20:58:47 2011
@@ -91,7 +91,7 @@ static void default_handler(void *userDa
 }
 #endif
 
-APR_DECLARE(apr_xml_parser *) apr_xml_parser_create_ex(apr_pool_t *pool,
+apr_xml_parser* apr_xml_parser_create_internal(apr_pool_t *pool,
     void *start_func, void *end_func, void *cdata_func)
 {
     apr_xml_parser *parser = apr_pcalloc(pool, sizeof(*parser));

Modified: apr/apr/trunk/xml/apr_xml_internal.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/xml/apr_xml_internal.h?rev=1091205&r1=1091204&r2=1091205&view=diff
==============================================================================
--- apr/apr/trunk/xml/apr_xml_internal.h (original)
+++ apr/apr/trunk/xml/apr_xml_internal.h Mon Apr 11 20:58:47 2011
@@ -43,6 +43,6 @@ struct apr_xml_parser {
     XMLParserImpl *impl;
 };
 
-APR_DECLARE(apr_xml_parser *) apr_xml_parser_create_ex(apr_pool_t*, void*, void*, void*);
+apr_xml_parser* apr_xml_parser_create_internal(apr_pool_t*, void*, void*, void*);
 
 #endif

Modified: apr/apr/trunk/xml/apr_xml_libxml2.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/xml/apr_xml_libxml2.c?rev=1091205&r1=1091204&r2=1091205&view=diff
==============================================================================
--- apr/apr/trunk/xml/apr_xml_libxml2.c (original)
+++ apr/apr/trunk/xml/apr_xml_libxml2.c Mon Apr 11 20:58:47 2011
@@ -61,7 +61,7 @@ XMLParserImpl* apr_xml_get_parser_impl(v
 }
 
 
-APR_DECLARE(apr_xml_parser *) apr_xml_parser_create_ex(apr_pool_t *pool,
+apr_xml_parser* apr_xml_parser_create_internal(apr_pool_t *pool,
     void *start_func, void *end_func, void *cdata_func)
 {
     apr_xml_parser *parser = apr_pcalloc(pool, sizeof(*parser));