diff options
Diffstat (limited to 'ext/standard/microtime.c')
-rw-r--r-- | ext/standard/microtime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c index 811731ee20..d8f72b20d4 100644 --- a/ext/standard/microtime.c +++ b/ext/standard/microtime.c @@ -55,7 +55,7 @@ static void _php_gettimeofday(INTERNAL_FUNCTION_PARAMETERS, int mode) zend_bool get_as_float = 0; struct timeval tp = {0}; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &get_as_float) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|b", &get_as_float) == FAILURE) { return; } @@ -70,7 +70,7 @@ static void _php_gettimeofday(INTERNAL_FUNCTION_PARAMETERS, int mode) if (mode) { timelib_time_offset *offset; - offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info(TSRMLS_C)); + offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info()); array_init(return_value); add_assoc_long(return_value, "sec", tp.tv_sec); @@ -114,7 +114,7 @@ PHP_FUNCTION(getrusage) zend_long pwho = 0; int who = RUSAGE_SELF; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &pwho) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &pwho) == FAILURE) { return; } |