From 9e800e0489dcfb7d455cf97105859e8db2691eb6 Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Wed, 27 Nov 2024 22:55:40 -0800 Subject: [PATCH] pcntl: remove unneeded module shutdown function Doesn't do anything, just returns `SUCCESS` --- ext/pcntl/pcntl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index c3b53aec0ebb8..dcde195f3a9b8 100644 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -153,7 +153,7 @@ zend_module_entry pcntl_module_entry = { "pcntl", ext_functions, PHP_MINIT(pcntl), - PHP_MSHUTDOWN(pcntl), + NULL, PHP_RINIT(pcntl), PHP_RSHUTDOWN(pcntl), PHP_MINFO(pcntl), @@ -220,11 +220,6 @@ PHP_MINIT_FUNCTION(pcntl) return SUCCESS; } -PHP_MSHUTDOWN_FUNCTION(pcntl) -{ - return SUCCESS; -} - PHP_RSHUTDOWN_FUNCTION(pcntl) { struct php_pcntl_pending_signal *sig;