From b00c72cf23505b199de07deca447222f83244793 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 29 Dec 2024 14:28:42 +0100 Subject: [PATCH] Remove no-op MSHUTDOWN function in xmlwriter --- ext/xmlwriter/php_xmlwriter.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index 531e70b7810..07542c06202 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -97,7 +97,6 @@ static zend_object *xmlwriter_object_new(zend_class_entry *class_type) /* {{{ function prototypes */ static PHP_MINIT_FUNCTION(xmlwriter); -static PHP_MSHUTDOWN_FUNCTION(xmlwriter); static PHP_MINFO_FUNCTION(xmlwriter); /* }}} */ @@ -201,7 +200,7 @@ zend_module_entry xmlwriter_module_entry = { "xmlwriter", ext_functions, PHP_MINIT(xmlwriter), - PHP_MSHUTDOWN(xmlwriter), + NULL, NULL, NULL, PHP_MINFO(xmlwriter), @@ -1075,13 +1074,6 @@ static PHP_MINIT_FUNCTION(xmlwriter) } /* }}} */ -/* {{{ PHP_MSHUTDOWN_FUNCTION */ -static PHP_MSHUTDOWN_FUNCTION(xmlwriter) -{ - return SUCCESS; -} -/* }}} */ - /* {{{ PHP_MINFO_FUNCTION */ static PHP_MINFO_FUNCTION(xmlwriter) {