summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-01 19:01:50 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-02 10:10:51 +0200
commitb88ef3dc58897c9b5d00c97408687d38b40b8a85 (patch)
tree54571586098aaf19afbb3e76dc992ee937bb6c91 /main
parentbaa883d3fc442fd2ef1ca66eed6416780cdd98b6 (diff)
downloadphp-git-b88ef3dc58897c9b5d00c97408687d38b40b8a85.tar.gz
Remove unused (module|request)_shutdown_for_exec
Diffstat (limited to 'main')
-rw-r--r--main/main.c17
-rw-r--r--main/php_main.h2
2 files changed, 0 insertions, 19 deletions
diff --git a/main/main.c b/main/main.c
index d276528edb..18d0b43d36 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1883,18 +1883,6 @@ int php_request_startup(void)
}
/* }}} */
-/* {{{ php_request_shutdown_for_exec
- */
-void php_request_shutdown_for_exec(void *dummy)
-{
-
- /* used to close fd's in the 3..255 range here, but it's problematic
- */
- zend_interned_strings_deactivate();
- shutdown_memory_manager(1, 1);
-}
-/* }}} */
-
/* {{{ php_request_shutdown
*/
void php_request_shutdown(void *dummy)
@@ -2486,11 +2474,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
}
/* }}} */
-void php_module_shutdown_for_exec(void)
-{
- /* used to close fd's in the range 3.255 here, but it's problematic */
-}
-
/* {{{ php_module_shutdown_wrapper
*/
int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals)
diff --git a/main/php_main.h b/main/php_main.h
index 6f2f9c5856..44eeb974d6 100644
--- a/main/php_main.h
+++ b/main/php_main.h
@@ -27,10 +27,8 @@
BEGIN_EXTERN_C()
PHPAPI int php_request_startup(void);
PHPAPI void php_request_shutdown(void *dummy);
-PHPAPI void php_request_shutdown_for_exec(void *dummy);
PHPAPI int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_modules, uint32_t num_additional_modules);
PHPAPI void php_module_shutdown(void);
-PHPAPI void php_module_shutdown_for_exec(void);
PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);
PHPAPI int php_register_extensions(zend_module_entry * const * ptr, int count);