summaryrefslogtreecommitdiff
path: root/sapi/apache/php_apache.c
diff options
context:
space:
mode:
authorVenkat Raghavan S <rvenkat@php.net>2002-05-31 09:07:12 +0000
committerVenkat Raghavan S <rvenkat@php.net>2002-05-31 09:07:12 +0000
commitecdbaeced17affd6895537746f69ac2824339184 (patch)
tree94cfd7627f0bfb87da4fb48184470025a80e10b5 /sapi/apache/php_apache.c
parentf3c71c43b085c8a4e6a5fa5819af73a74ae8ca92 (diff)
downloadphp-git-ecdbaeced17affd6895537746f69ac2824339184.tar.gz
Removed ugly code done as part of NetWare change, upon Andi's advice. Now, the typecasting is done for all platforms.
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r--sapi/apache/php_apache.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c
index 21ca18a177..134f291285 100644
--- a/sapi/apache/php_apache.c
+++ b/sapi/apache/php_apache.c
@@ -77,11 +77,7 @@ static void php_apache_globals_ctor(php_apache_info_struct *apache_globals TSRML
static PHP_MINIT_FUNCTION(apache)
{
#ifdef ZTS
-#ifndef NETWARE
- ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), php_apache_globals_ctor, NULL);
-#else
- ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), (void (*)(void *, void ***))php_apache_globals_ctor, NULL);
-#endif
+ ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), (ts_allocate_ctor)php_apache_globals_ctor, NULL);
#else
php_apache_globals_ctor(&php_apache_info TSRMLS_CC);
#endif