From 84bafc10025beb3119a1c036a8dab7172f373fc9 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 4 Mar 2000 14:21:22 +0000 Subject: [PATCH] Remove outdated PHP 3.1 stuff --- ext/gd/gd.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 535c094b55..aacbb2e651 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -154,7 +154,7 @@ function_entry gd_functions[] = { }; zend_module_entry gd_module_entry = { - "gd", gd_functions, PHP_MINIT(gd), PHP_MSHUTDOWN(gd), NULL, NULL, PHP_MINFO(gd), STANDARD_MODULE_PROPERTIES + "gd", gd_functions, PHP_MINIT(gd), NULL, NULL, NULL, PHP_MINFO(gd), STANDARD_MODULE_PROPERTIES }; #ifdef ZTS @@ -247,25 +247,6 @@ PHP_MINFO_FUNCTION(gd) #endif } -PHP_MSHUTDOWN_FUNCTION(gd) -{ - GDLS_FETCH(); - -#ifdef THREAD_SAFE - PHP3_TLS_THREAD_FREE(gdlib_globals); - PHP_MUTEX_LOCK(gdlib_mutex); - numthreads--; - if (numthreads<1) { - PHP3_TLS_PROC_SHUTDOWN(GDlibTls); - PHP_MUTEX_UNLOCK(gdlib_mutex); - PHP_MUTEX_FREE(gdlib_mutex); - return SUCCESS; - } - PHP_MUTEX_UNLOCK(gdlib_mutex); -#endif - return SUCCESS; -} - /* Need this for cpdf. See also comment in file.c php3i_get_le_fp() */ PHPAPI int phpi_get_le_gd(void) { -- 2.40.0