summaryrefslogtreecommitdiff
path: root/ext/xsl
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2003-11-29 13:31:51 +0000
committerChristian Stocker <chregu@php.net>2003-11-29 13:31:51 +0000
commitdf63bcddda8849c2ec99e0af2901b4bccd075f2a (patch)
tree0981dc1e870d7c3ae9f7a57596077ee5c2211fb7 /ext/xsl
parentd699569f5ad8bb56f31a36e2c65bf1577cf9e153 (diff)
downloadphp-git-df63bcddda8849c2ec99e0af2901b4bccd075f2a.tar.gz
follow coding standards.
Diffstat (limited to 'ext/xsl')
-rw-r--r--ext/xsl/php_xsl.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c
index 49af31417d..34c8bd8f76 100644
--- a/ext/xsl/php_xsl.c
+++ b/ext/xsl/php_xsl.c
@@ -262,8 +262,7 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t
obj = (dom_object *)zend_object_store_get_object(retval TSRMLS_CC);
nodep = dom_object_get_node(obj);
valuePush(ctxt, xmlXPathNewNodeSet(nodep));
- }
- else if (retval->type == IS_BOOL) {
+ } else if (retval->type == IS_BOOL) {
valuePush(ctxt, xmlXPathNewBoolean(retval->value.lval));
} else {
convert_to_string_ex(&retval);
@@ -278,14 +277,12 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t
efree(args);
}
-static void
-xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs)
+static void xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs)
{
xsl_ext_function_php(ctxt, nargs, 1);
}
-static void
-xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs)
+static void xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs)
{
xsl_ext_function_php(ctxt, nargs, 2);
}
@@ -369,7 +366,6 @@ PHP_MSHUTDOWN_FUNCTION(xsl)
UNREGISTER_INI_ENTRIES();
*/
xsltCleanupGlobals();
- //xmlMemoryDump();
return SUCCESS;
}