Skip to content

Commit 8ac8ec4

Browse files
pcntl: remove unneeded module shutdown function (#16977)
Doesn't do anything, just returns `SUCCESS`
1 parent f953bd9 commit 8ac8ec4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ext/pcntl/pcntl.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ zend_module_entry pcntl_module_entry = {
153153
"pcntl",
154154
ext_functions,
155155
PHP_MINIT(pcntl),
156-
PHP_MSHUTDOWN(pcntl),
156+
NULL,
157157
PHP_RINIT(pcntl),
158158
PHP_RSHUTDOWN(pcntl),
159159
PHP_MINFO(pcntl),
@@ -220,11 +220,6 @@ PHP_MINIT_FUNCTION(pcntl)
220220
return SUCCESS;
221221
}
222222

223-
PHP_MSHUTDOWN_FUNCTION(pcntl)
224-
{
225-
return SUCCESS;
226-
}
227-
228223
PHP_RSHUTDOWN_FUNCTION(pcntl)
229224
{
230225
struct php_pcntl_pending_signal *sig;

0 commit comments

Comments
 (0)