sniper Fri Jul 25 08:45:05 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/domxml php_domxml.c
Log:
some missing static with internal funcs.
Index: php-src/ext/domxml/php_domxml.c
diff -u php-src/ext/domxml/php_domxml.c:1.218.2.26
php-src/ext/domxml/php_domxml.c:1.218.2.27
--- php-src/ext/domxml/php_domxml.c:1.218.2.26 Wed Jul 23 12:44:27 2003
+++ php-src/ext/domxml/php_domxml.c Fri Jul 25 08:45:05 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.218.2.26 2003/07/23 16:44:27 iliaa Exp $ */
+/* $Id: php_domxml.c,v 1.218.2.27 2003/07/25 12:45:05 sniper Exp $ */
/* TODO
* - Support Notation Nodes
@@ -818,7 +818,7 @@
}
}
-void *php_xsltstylesheet_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2
TSRMLS_DC)
+static void *php_xsltstylesheet_get_object(zval *wrapper, int rsrc_type1, int
rsrc_type2 TSRMLS_DC)
{
void *obj;
zval **handle;
@@ -867,8 +867,9 @@
}
#endif /* HAVE_DOMXSLT */
-
-void *php_xpath_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2 TSRMLS_DC)
+/* Not used? */
+/*
+static void *php_xpath_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2
TSRMLS_DC)
{
void *obj;
zval **handle;
@@ -897,6 +898,7 @@
return obj;
}
+*/
static zval *php_xpathobject_new(xmlXPathObjectPtr obj, int *found TSRMLS_DC)
{
@@ -907,7 +909,7 @@
return (wrapper);
}
-void *php_xpath_get_context(zval *wrapper, int rsrc_type1, int rsrc_type2 TSRMLS_DC)
+static void *php_xpath_get_context(zval *wrapper, int rsrc_type1, int rsrc_type2
TSRMLS_DC)
{
void *obj;
zval **handle;
@@ -1101,7 +1103,7 @@
/* }}} */
/* end parser stuff */
-void *php_dom_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2 TSRMLS_DC)
+static void *php_dom_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2
TSRMLS_DC)
{
void *obj;
zval **handle;
@@ -1475,8 +1477,8 @@
}
-xmlDocPtr php_dom_xmlSAXParse(xmlSAXHandlerPtr sax, const char *buffer, int size, int
recovery, void *data) {
-
+static xmlDocPtr php_dom_xmlSAXParse(xmlSAXHandlerPtr sax, const char *buffer, int
size, int recovery, void *data)
+{
xmlDocPtr ret;
xmlParserCtxtPtr ctxt;
domxml_ErrorCtxt errorCtxt;
@@ -3118,7 +3120,8 @@
xmlNode *element;
};
-static void idsHashScanner(void *payload, void *data, xmlChar *name) {
+static void idsHashScanner(void *payload, void *data, xmlChar *name)
+{
idsIterator *priv = (idsIterator *)data;
if (priv->element == NULL && xmlStrEqual (name, priv->elementId))
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php