summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_process_title.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 /sapi/cli/php_cli_process_title.c
parentbb66f385d09e7e55390e9f57fcbca08f6b43ff91 (diff)
downloadphp-git-bdeb220f48825642f84cdbf3ff23a30613c92e86.tar.gz
first shot remove TSRMLS_* things
Diffstat (limited to 'sapi/cli/php_cli_process_title.c')
-rw-r--r--sapi/cli/php_cli_process_title.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/cli/php_cli_process_title.c b/sapi/cli/php_cli_process_title.c
index 28fbdfb518..0725e292de 100644
--- a/sapi/cli/php_cli_process_title.c
+++ b/sapi/cli/php_cli_process_title.c
@@ -34,7 +34,7 @@ PHP_FUNCTION(cli_set_process_title)
size_t title_len;
int rc;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &title, &title_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &title, &title_len) == FAILURE) {
return;
}
@@ -43,7 +43,7 @@ PHP_FUNCTION(cli_set_process_title)
RETURN_TRUE;
}
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc));
+ php_error_docref(NULL, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc));
RETURN_FALSE;
}
/* }}} */
@@ -62,7 +62,7 @@ PHP_FUNCTION(cli_get_process_title)
rc = get_ps_title(&length, &title);
if (rc != PS_TITLE_SUCCESS) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc));
+ php_error_docref(NULL, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc));
RETURN_NULL();
}