]> granicus.if.org Git - php/commitdiff
Remove outdated PHP 3.1 stuff
authorSascha Schumann <sas@php.net>
Sat, 4 Mar 2000 14:21:22 +0000 (14:21 +0000)
committerSascha Schumann <sas@php.net>
Sat, 4 Mar 2000 14:21:22 +0000 (14:21 +0000)
ext/gd/gd.c

index 535c094b5553b158fbae8eb84ae72f43fe8a2067..aacbb2e6515bfeca71b7134809317e16c3787294 100644 (file)
@@ -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)
 {