From 8ac8ec49f4925c1fa3b913af0f0a9792e3c3120f Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Thu, 28 Nov 2024 00:40:52 -0800 Subject: [PATCH] pcntl: remove unneeded module shutdown function (#16977) 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 c3b53aec0eb..dcde195f3a9 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;