1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

xml: Drop unused version function (#20467)

This commit is contained in:
Niels Dossche
2025-11-13 08:31:02 +01:00
committed by GitHub
parent 31bd92d2dc
commit 94831808af
2 changed files with 0 additions and 6 deletions

View File

@@ -652,11 +652,6 @@ XML_GetCurrentByteCount(XML_Parser parser)
return (int) XML_GetCurrentByteIndex(parser);
}
PHP_XML_API const XML_Char *XML_ExpatVersion(void)
{
return (const XML_Char *) "1.0";
}
PHP_XML_API void
XML_ParserFree(XML_Parser parser)
{

View File

@@ -148,7 +148,6 @@ PHP_XML_API int XML_GetCurrentLineNumber(XML_Parser);
PHP_XML_API int XML_GetCurrentColumnNumber(XML_Parser);
PHP_XML_API long XML_GetCurrentByteIndex(XML_Parser);
PHP_XML_API int XML_GetCurrentByteCount(XML_Parser);
PHP_XML_API const XML_Char *XML_ExpatVersion(void);
PHP_XML_API void XML_ParserFree(XML_Parser);
#elif defined(HAVE_LIBEXPAT)