summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-10 13:04:58 +0000
committerZeev Suraski <zeev@php.net>2001-08-10 13:04:58 +0000
commit486ad565d0e3d4588b4c984ac5670a61ffccea75 (patch)
tree446858e74f4cfc1bc0e0c66ca06482d1d5e213e7
parente4f0e351b7e1cc39523ed621ecd8723338a3d0a3 (diff)
downloadphp-git-486ad565d0e3d4588b4c984ac5670a61ffccea75.tar.gz
More build fixes
-rw-r--r--ext/sablot/sablot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/sablot/sablot.c b/ext/sablot/sablot.c
index 3154aab94b..d5b7e031df 100644
--- a/ext/sablot/sablot.c
+++ b/ext/sablot/sablot.c
@@ -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)) {