]> granicus.if.org Git - php/commitdiff
More build fixes
authorZeev Suraski <zeev@php.net>
Fri, 10 Aug 2001 13:04:58 +0000 (13:04 +0000)
committerZeev Suraski <zeev@php.net>
Fri, 10 Aug 2001 13:04:58 +0000 (13:04 +0000)
ext/sablot/sablot.c

index 3154aab94b843db207b240f326ed2f6b1076cb57..d5b7e031dfc501966f448f05d707755f8095ef5c 100644 (file)
@@ -209,7 +209,7 @@ zend_module_entry sablot_module_entry = {
 ZEND_GET_MODULE(sablot)
 #endif
 
-static void php_sablot_init_globals(php_sablot_globals *sablot_globals)
+static void php_sablot_init_globals(zend_sablot_globals *sablot_globals TSRMLS_DC)
 {
        sablot_globals->processor             = NULL;
        sablot_globals->errors                = NULL;
@@ -222,7 +222,7 @@ static void php_sablot_init_globals(php_sablot_globals *sablot_globals)
 PHP_MINIT_FUNCTION(sablot)
 {
 #ifdef ZTS
-       ts_allocate_id(&sablot_globals_id, sizeof(php_sablot_globals), (ts_allocate_ctor)php_sablot_init_globals, NULL);
+       ts_allocate_id(&sablot_globals_id, sizeof(zend_sablot_globals), (ts_allocate_ctor)php_sablot_init_globals, NULL);
 #else
        php_sablot_init_globals(&sablot_globals TSRMLS_CC);
 #endif
@@ -232,6 +232,7 @@ PHP_MINIT_FUNCTION(sablot)
     return SUCCESS;
 }
 
+
 PHP_MSHUTDOWN_FUNCTION(sablot)
 {
        if (SABLOTG(processor)) {