summaryrefslogtreecommitdiff
path: root/ext/intl/collator/collator_error.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-12-13 23:06:14 +0100
committerAnatol Belski <ab@php.net>2014-12-13 23:06:14 +0100
commitbdeb220f48825642f84cdbf3ff23a30613c92e86 (patch)
tree1a6cf34d20420e4815b4becb21311a4457d84103 /ext/intl/collator/collator_error.c
parentbb66f385d09e7e55390e9f57fcbca08f6b43ff91 (diff)
downloadphp-git-bdeb220f48825642f84cdbf3ff23a30613c92e86.tar.gz
first shot remove TSRMLS_* things
Diffstat (limited to 'ext/intl/collator/collator_error.c')
-rw-r--r--ext/intl/collator/collator_error.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/intl/collator/collator_error.c b/ext/intl/collator/collator_error.c
index fb8886ef64..5d30b8c655 100644
--- a/ext/intl/collator/collator_error.c
+++ b/ext/intl/collator/collator_error.c
@@ -33,11 +33,11 @@ PHP_FUNCTION( collator_get_error_code )
COLLATOR_METHOD_INIT_VARS
/* Parse parameters. */
- if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
+ if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O",
&object, Collator_ce_ptr ) == FAILURE )
{
intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "collator_get_error_code: unable to parse input params", 0 TSRMLS_CC );
+ "collator_get_error_code: unable to parse input params", 0 );
RETURN_FALSE;
}
@@ -64,11 +64,11 @@ PHP_FUNCTION( collator_get_error_message )
COLLATOR_METHOD_INIT_VARS
/* Parse parameters. */
- if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
+ if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O",
&object, Collator_ce_ptr ) == FAILURE )
{
intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "collator_get_error_message: unable to parse input params", 0 TSRMLS_CC );
+ "collator_get_error_message: unable to parse input params", 0 );
RETURN_FALSE;
}
@@ -79,7 +79,7 @@ PHP_FUNCTION( collator_get_error_message )
RETURN_FALSE;
/* Return last error message. */
- message = intl_error_get_message( COLLATOR_ERROR_P( co ) TSRMLS_CC );
+ message = intl_error_get_message( COLLATOR_ERROR_P( co ) );
RETURN_STR(message);
}
/* }}} */