diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-27 10:16:41 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-27 10:16:41 +0000 |
commit | fe6f8712a439c8b5046a03bca9ce5ae8e75aa4f5 (patch) | |
tree | c7bc98cac58386828871aae860f90cac0ebdcf8f /sapi/apache/php_apache.c | |
parent | 2c254ba762d9392a732d5793b5b193ee6e395f1c (diff) | |
download | php-git-fe6f8712a439c8b5046a03bca9ce5ae8e75aa4f5.tar.gz |
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index c969371526..fd0270414a 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -90,7 +90,7 @@ PHP_INI_END() -static void php_apache_globals_ctor(php_apache_info_struct *apache_globals) +static void php_apache_globals_ctor(php_apache_info_struct *apache_globals TSRMLS_DC) { apache_globals->in_request = 0; } @@ -99,9 +99,9 @@ static void php_apache_globals_ctor(php_apache_info_struct *apache_globals) static PHP_MINIT_FUNCTION(apache) { #ifdef ZTS - php_apache_info_id = ts_allocate_id(sizeof(php_apache_info_struct), php_apache_globals_ctor, NULL); + ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), php_apache_globals_ctor, NULL); #else - php_apache_globals_ctor(&php_apache_info); + php_apache_globals_ctor(&php_apache_info TSRMLS_CC); #endif REGISTER_INI_ENTRIES(); return SUCCESS; |