summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 09:16:46 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 09:16:46 +0000
commit9f4c0ae6c09abf1defd5e44741c50c322dbc8f57 (patch)
tree868577d4c7bade74be9b4aa1e309e33368ab46b3 /ext/standard/info.c
parentd49077f871b4f070d0ab1d9d7e8d9e7be4ed7e7e (diff)
downloadphp-git-9f4c0ae6c09abf1defd5e44741c50c322dbc8f57.tar.gz
More TSRMLS_FETCH work
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index ba84c689a0..84689d1733 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -146,14 +146,13 @@ PHPAPI char *php_get_uname()
/* {{{ php_print_info
*/
-PHPAPI void php_print_info(int flag)
+PHPAPI void php_print_info(int flag TSRMLS_DC)
{
char **env,*tmp1,*tmp2;
char *php_uname;
int expose_php = INI_INT("expose_php");
time_t the_time;
struct tm *ta, tmbuf;
- TSRMLS_FETCH();
the_time = time(NULL);
ta = php_localtime_r(&the_time, &tmbuf);
@@ -475,7 +474,7 @@ PHP_FUNCTION(phpinfo)
WRONG_PARAM_COUNT;
break;
}
- php_print_info(flag);
+ php_print_info(flag TSRMLS_CC);
RETURN_TRUE;
}