summaryrefslogtreecommitdiff
path: root/ext/dom/domexception.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-12-18 10:09:02 +0100
committerAnatol Belski <ab@php.net>2014-12-18 10:09:02 +0100
commit4b943c9c0dd4114adc78416c5241f11ad5c98a80 (patch)
treec9628d91eae3f580f9ebd73d2372e4c9089b2e00 /ext/dom/domexception.c
parent79354ba6d0d6a1a4596f9ac66ee9bc3a34ed972b (diff)
parentdec8eb431adee340fb8dfb9ff33ed29d3279c35f (diff)
downloadphp-git-POST_NATIVE_TLS_MERGE.tar.gz
Merge remote-tracking branch 'origin/native-tls'POST_NATIVE_TLS_MERGE
Diffstat (limited to 'ext/dom/domexception.c')
-rw-r--r--ext/dom/domexception.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/dom/domexception.c b/ext/dom/domexception.c
index 4696e87f21..d7de3c4720 100644
--- a/ext/dom/domexception.c
+++ b/ext/dom/domexception.c
@@ -40,18 +40,18 @@ const zend_function_entry php_dom_domexception_class_functions[] = {
PHP_FE_END
};
-void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC) /* {{{ */
+void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error) /* {{{ */
{
if (strict_error == 1) {
- zend_throw_exception(dom_domexception_class_entry, error_message, error_code TSRMLS_CC);
+ zend_throw_exception(dom_domexception_class_entry, error_message, error_code);
} else {
- php_libxml_issue_error(E_WARNING, error_message TSRMLS_CC);
+ php_libxml_issue_error(E_WARNING, error_message);
}
}
/* }}} */
/* {{{ php_dom_throw_error */
-void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC)
+void php_dom_throw_error(int error_code, int strict_error)
{
char *error_message;
@@ -109,7 +109,7 @@ void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC)
error_message = "Unhandled Error";
}
- php_dom_throw_error_with_message(error_code, error_message, strict_error TSRMLS_CC);
+ php_dom_throw_error_with_message(error_code, error_message, strict_error);
}
/* }}} end php_dom_throw_error */