Skip to content

Commit b88ef3d

Browse files
committed
Remove unused (module|request)_shutdown_for_exec
1 parent baa883d commit b88ef3d

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

main/main.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,18 +1883,6 @@ int php_request_startup(void)
18831883
}
18841884
/* }}} */
18851885

1886-
/* {{{ php_request_shutdown_for_exec
1887-
*/
1888-
void php_request_shutdown_for_exec(void *dummy)
1889-
{
1890-
1891-
/* used to close fd's in the 3..255 range here, but it's problematic
1892-
*/
1893-
zend_interned_strings_deactivate();
1894-
shutdown_memory_manager(1, 1);
1895-
}
1896-
/* }}} */
1897-
18981886
/* {{{ php_request_shutdown
18991887
*/
19001888
void php_request_shutdown(void *dummy)
@@ -2486,11 +2474,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
24862474
}
24872475
/* }}} */
24882476

2489-
void php_module_shutdown_for_exec(void)
2490-
{
2491-
/* used to close fd's in the range 3.255 here, but it's problematic */
2492-
}
2493-
24942477
/* {{{ php_module_shutdown_wrapper
24952478
*/
24962479
int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals)

main/php_main.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@
2727
BEGIN_EXTERN_C()
2828
PHPAPI int php_request_startup(void);
2929
PHPAPI void php_request_shutdown(void *dummy);
30-
PHPAPI void php_request_shutdown_for_exec(void *dummy);
3130
PHPAPI int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_modules, uint32_t num_additional_modules);
3231
PHPAPI void php_module_shutdown(void);
33-
PHPAPI void php_module_shutdown_for_exec(void);
3432
PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);
3533

3634
PHPAPI int php_register_extensions(zend_module_entry * const * ptr, int count);

0 commit comments

Comments
 (0)