From ecdbaeced17affd6895537746f69ac2824339184 Mon Sep 17 00:00:00 2001 From: Venkat Raghavan S Date: Fri, 31 May 2002 09:07:12 +0000 Subject: [PATCH] Removed ugly code done as part of NetWare change, upon Andi's advice. Now, the typecasting is done for all platforms. --- sapi/apache/php_apache.c | 6 +----- 1 file changed, 1 insertion(+), 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 -- 2.40.0