[php-src] PR #14315: Fix reentrant functions declarations checks
| From: | petk | Date: | Thu, 23 May 2024 22:10:19 +0000 |
| Subject: | [php-src] PR #14315: Fix reentrant functions declarations checks | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26291@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14315
Author: petk
This fixes incompatible pointer type warnings during the reentrant functions declaration checks.
These were not declared on some obsolete systems if
_REENTRANT was not defined. The
check is for now left in the code base but can be transitioned to newer code without checking for
missing declarations or using these otherwise in the future.
Perhaps this should also go to PHP-8.2 since the void addition attempted to fix some
other warnings and errors (-Wstrict-prototypes). This AC_CHECK_DECL should work ok for all those
issues.