Skip to content

Commit 9483180

Browse files
authored
xml: Drop unused version function (#20467)
1 parent 31bd92d commit 9483180

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

ext/xml/compat.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,6 @@ XML_GetCurrentByteCount(XML_Parser parser)
652652
return (int) XML_GetCurrentByteIndex(parser);
653653
}
654654

655-
PHP_XML_API const XML_Char *XML_ExpatVersion(void)
656-
{
657-
return (const XML_Char *) "1.0";
658-
}
659-
660655
PHP_XML_API void
661656
XML_ParserFree(XML_Parser parser)
662657
{

ext/xml/expat_compat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ PHP_XML_API int XML_GetCurrentLineNumber(XML_Parser);
148148
PHP_XML_API int XML_GetCurrentColumnNumber(XML_Parser);
149149
PHP_XML_API long XML_GetCurrentByteIndex(XML_Parser);
150150
PHP_XML_API int XML_GetCurrentByteCount(XML_Parser);
151-
PHP_XML_API const XML_Char *XML_ExpatVersion(void);
152151
PHP_XML_API void XML_ParserFree(XML_Parser);
153152

154153
#elif defined(HAVE_LIBEXPAT)

0 commit comments

Comments
 (0)